diff options
Diffstat (limited to 'js/CommonDialogs.js')
-rw-r--r-- | js/CommonDialogs.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/js/CommonDialogs.js b/js/CommonDialogs.js index cf21370d6..b9cee8873 100644 --- a/js/CommonDialogs.js +++ b/js/CommonDialogs.js @@ -2,7 +2,7 @@ /* global __, ngettext */ define(["dojo/_base/declare"], function (declare) { // noinspection JSUnusedGlobalSymbols - return declare("fox.CommonDialogs", null, { + CommonDialogs = { closeInfoBox: function() { const dialog = dijit.byId("infoBox"); if (dialog) dialog.hide(); @@ -443,5 +443,7 @@ define(["dojo/_base/declare"], function (declare) { } return false; } - }); + }; + + return CommonDialogs; });
\ No newline at end of file |