diff --git a/static/scripts/utils/config.js b/static/scripts/utils/config.js index 83a3e93d3c6..86920bf7a86 100644 --- a/static/scripts/utils/config.js +++ b/static/scripts/utils/config.js @@ -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