mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 05:44:08 -07:00
FM style update
This commit is contained in:
parent
7565e8217f
commit
a379e01e5a
2 changed files with 13 additions and 3 deletions
|
@ -151,14 +151,16 @@
|
|||
}
|
||||
);
|
||||
|
||||
shortcut.add("Ctrl+Backspace", function(){
|
||||
if($('form#vstobjects button.cancel')[0]){
|
||||
// shortcut.add("Ctrl+Backspace", function(){
|
||||
shortcut.add("Backspace", function(){
|
||||
console.log("read");
|
||||
if($('form#vstobjects .button.cancel')[0]){
|
||||
location.href=$('form#vstobjects input.cancel').attr('onclick').replace("location.href='", "").replace("'","");
|
||||
}
|
||||
}, {
|
||||
'type': 'keydown',
|
||||
'propagate': false,
|
||||
'disable_in_input': false,
|
||||
'disable_in_input': true,
|
||||
'target': document
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue