From ad04bbf81dc01236422e0af8a07236ad7921453a Mon Sep 17 00:00:00 2001 From: wn_ Date: Sat, 10 Mar 2018 07:11:33 -0600 Subject: strict js: fix more dialog vars --- js/functions.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'js/functions.js') 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", -- cgit v1.2.3