From 84affc7b1d71769038dfd25d74e40d6bf744e5fb Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 3 Dec 2018 09:33:44 +0300 Subject: 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 --- js/CommonFilters.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'js/CommonFilters.js') 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; }); -- cgit v1.2.3