summaryrefslogtreecommitdiff
path: root/js/CommonFilters.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-12-03 09:33:44 +0300
committerAndrew Dolgov <[email protected]>2018-12-03 09:33:44 +0300
commit84affc7b1d71769038dfd25d74e40d6bf744e5fb (patch)
tree97751786520bb686276a0791edc7e646f1822a91 /js/CommonFilters.js
parente905ce7ea983e425de85282ce7d24fb9f64402d4 (diff)
rework dojo singleton modules to better work with phpstorm completion (ugh) - declare() is not needed there anyway
remove event.observe from login form (not needed) load pluginhost via amd
Diffstat (limited to 'js/CommonFilters.js')
-rw-r--r--js/CommonFilters.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/js/CommonFilters.js b/js/CommonFilters.js
index 2c9c7b5a4..d2a3e6317 100644
--- a/js/CommonFilters.js
+++ b/js/CommonFilters.js
@@ -1,7 +1,7 @@
'use strict'
/* global __, ngettext */
define(["dojo/_base/declare"], function (declare) {
- return declare("fox.CommonFilters", null, {
+ Filters = {
filterDlgCheckAction: function(sender) {
const action = sender.value;
@@ -387,5 +387,7 @@ define(["dojo/_base/declare"], function (declare) {
}
dialog.show();
},
- });
+ };
+
+ return Filters;
});