mirror of https://gitee.com/bigwinds/arangodb
fixed a modal view bug
This commit is contained in:
parent
727d8a3f17
commit
ddb6155870
|
@ -100,13 +100,13 @@
|
|||
createModalHotkeys: function() {
|
||||
//submit modal
|
||||
$(this.el).bind('keydown', 'ctrl+return', function(){
|
||||
$('.button-success').click();
|
||||
$('.modal-footer .button-success').click();
|
||||
});
|
||||
$("input", $(this.el)).bind('keydown', 'return', function(){
|
||||
$('.button-success').click();
|
||||
$('.modal-footer .button-success').click();
|
||||
});
|
||||
$("select", $(this.el)).bind('keydown', 'return', function(){
|
||||
$('.button-success').click();
|
||||
$('.modal-footer .button-success').click();
|
||||
});
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue