diff options
author | wn_ <[email protected]> | 2018-03-10 07:11:33 -0600 |
---|---|---|
committer | wn_ <[email protected]> | 2018-03-10 07:11:33 -0600 |
commit | ad04bbf81dc01236422e0af8a07236ad7921453a (patch) | |
tree | 96f4125e37fc38f3a604e1bfb1eff8dcda07884d /js/functions.js | |
parent | e2e23887fb0756d86165cb5c602f5e68292da3af (diff) |
strict js: fix more dialog vars
Diffstat (limited to 'js/functions.js')
-rwxr-xr-x | js/functions.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/functions.js b/js/functions.js index d33a5e04f..6c0b97cb8 100755 --- a/js/functions.js +++ b/js/functions.js @@ -301,7 +301,7 @@ function getURLParam(param){ } function closeInfoBox() { - dialog = dijit.byId("infoBox"); + var dialog = dijit.byId("infoBox"); if (dialog) dialog.hide(); @@ -939,7 +939,7 @@ function quickAddFilter() { if (dijit.byId("filterEditDlg")) dijit.byId("filterEditDlg").destroyRecursive(); - dialog = new dijit.Dialog({ + var dialog = new dijit.Dialog({ id: "filterEditDlg", title: __("Create Filter"), style: "width: 600px", @@ -1257,7 +1257,7 @@ function editFeed(feed) { if (dijit.byId("feedEditDlg")) dijit.byId("feedEditDlg").destroyRecursive(); - dialog = new dijit.Dialog({ + var dialog = new dijit.Dialog({ id: "feedEditDlg", title: __("Edit Feed"), style: "width: 600px", @@ -1432,7 +1432,7 @@ function showFeedsWithErrors() { if (dijit.byId("errorFeedsDlg")) dijit.byId("errorFeedsDlg").destroyRecursive(); - dialog = new dijit.Dialog({ + var dialog = new dijit.Dialog({ id: "errorFeedsDlg", title: __("Feeds with update errors"), style: "width: 600px", |