Skip to content

Commit

Permalink
Load changes to options in case the open listener makes any changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Meiguro committed Jun 3, 2014
1 parent b18a157 commit 95bb362
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/js/settings/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,14 +121,16 @@ Settings.onOpenConfig = function(e) {
var url;
var listener = util2.last(state.listeners);
if (listener) {
url = listener.params.url;
options = state.options;
e = {
originalEvent: e,
options: options,
options: state.options,
url: listener.params.url,
};
listener.open(e);
if (listener.open(e) === false) {
return;
}
url = listener.params.url;
options = state.options;
} else {
url = Settings.settingsUrl;
options = Settings.getBaseOptions();
Expand Down

0 comments on commit 95bb362

Please sign in to comment.