mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Backbone config settings view: hide modal before updating model.
This commit is contained in:
@@ -225,9 +225,9 @@ var ConfigSettingCollectionView = Backbone.View.extend({
|
||||
var self = this,
|
||||
cancel_fn = function() { Galaxy.modal.hide(); $(window).unbind("keypress.check_enter_esc"); },
|
||||
ok_fn = function() {
|
||||
self.update_from_form();
|
||||
Galaxy.modal.hide();
|
||||
$(window).unbind("keypress.check_enter_esc");
|
||||
self.update_from_form();
|
||||
},
|
||||
check_enter_esc = function(e) {
|
||||
if ((e.keyCode || e.which) === 27) { // Escape key
|
||||
|
||||
Reference in New Issue
Block a user