mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 22:15:56 +00:00
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
This commit is contained in:
@@ -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;
|
||||
});
|
||||
Reference in New Issue
Block a user