mirror of https://gitee.com/bigwinds/arangodb
Feature/ui modals usability 891 (#3989)
This commit is contained in:
parent
62d0476bd7
commit
7563ba25ea
|
@ -1,9 +1,12 @@
|
||||||
devel
|
devel
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
* UI: pressing the return key inside a select2 box no longer triggers the modals
|
||||||
|
success function
|
||||||
|
|
||||||
* UI: coordinators and db servers are now in sorted order (ascending)
|
* UI: coordinators and db servers are now in sorted order (ascending)
|
||||||
|
|
||||||
* UI: fixed disappearing of the navigation label in some case special case
|
* UI: fixed disappearing of the navigation label in some cases
|
||||||
|
|
||||||
* fixed issue #3917: traversals with high maximal depth take extremely long
|
* fixed issue #3917: traversals with high maximal depth take extremely long
|
||||||
in planning phase.
|
in planning phase.
|
||||||
|
|
|
@ -97,17 +97,16 @@
|
||||||
// submit modal
|
// submit modal
|
||||||
$(this.el).unbind('keydown');
|
$(this.el).unbind('keydown');
|
||||||
$(this.el).unbind('return');
|
$(this.el).unbind('return');
|
||||||
// $(this.el).bind('keydown', 'return', function (e) {});
|
|
||||||
|
|
||||||
$('.modal-body input').unbind('keydown');
|
$('.modal-body .collectionTh > input').unbind('keydown');
|
||||||
$('.modal-body input').unbind('return');
|
$('.modal-body .collectionTh > input').unbind('return');
|
||||||
$('.modal-body input', $(this.el)).bind('keydown', 'return', function () {
|
$('.modal-body .collectionTh > input', $(this.el)).bind('keydown', 'return', function (e) {
|
||||||
$('.createModalDialog .modal-footer .button-success').click();
|
$('.createModalDialog .modal-footer .button-success').click();
|
||||||
});
|
});
|
||||||
|
|
||||||
$('.modal-body select').unbind('keydown');
|
$('.modal-body .collectionTh > select').unbind('keydown');
|
||||||
$('.modal-body select').unbind('return');
|
$('.modal-body .collectionTh > select').unbind('return');
|
||||||
$('.modal-body select', $(this.el)).bind('keydown', 'return', function () {
|
$('.modal-body .collectionTh > select', $(this.el)).bind('keydown', 'return', function (e) {
|
||||||
$('.createModalDialog .modal-footer .button-success').click();
|
$('.createModalDialog .modal-footer .button-success').click();
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue