summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorwn_ <[email protected]>2018-03-10 07:11:33 -0600
committerwn_ <[email protected]>2018-03-10 07:11:33 -0600
commitad04bbf81dc01236422e0af8a07236ad7921453a (patch)
tree96f4125e37fc38f3a604e1bfb1eff8dcda07884d /js
parente2e23887fb0756d86165cb5c602f5e68292da3af (diff)
strict js: fix more dialog vars
Diffstat (limited to 'js')
-rwxr-xr-xjs/functions.js8
-rwxr-xr-xjs/prefs.js16
-rw-r--r--js/tt-rss.js2
-rwxr-xr-xjs/viewfeed.js2
4 files changed, 14 insertions, 14 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",
diff --git a/js/prefs.js b/js/prefs.js
index aa06674df..3b6c67e17 100755
--- a/js/prefs.js
+++ b/js/prefs.js
@@ -91,7 +91,7 @@ function editUser(id) {
if (dijit.byId("userEditDlg"))
dijit.byId("userEditDlg").destroyRecursive();
- dialog = new dijit.Dialog({
+ var dialog = new dijit.Dialog({
id: "userEditDlg",
title: __("User Editor"),
style: "width: 600px",
@@ -126,7 +126,7 @@ function editFilter(id) {
if (dijit.byId("filterEditDlg"))
dijit.byId("filterEditDlg").destroyRecursive();
- dialog = new dijit.Dialog({
+ var dialog = new dijit.Dialog({
id: "filterEditDlg",
title: __("Edit Filter"),
style: "width: 600px",
@@ -474,7 +474,7 @@ function selectedUserDetails() {
if (dijit.byId("userDetailsDlg"))
dijit.byId("userDetailsDlg").destroyRecursive();
- dialog = new dijit.Dialog({
+ var dialog = new dijit.Dialog({
id: "userDetailsDlg",
title: __("User details"),
style: "width: 600px",
@@ -676,7 +676,7 @@ function opmlImportComplete(iframe) {
var content = iframe.contentDocument.body.innerHTML;
- dialog = new dijit.Dialog({
+ var dialog = new dijit.Dialog({
id: "opmlImportDlg",
title: __("OPML Import"),
style: "width: 600px",
@@ -1038,7 +1038,7 @@ function showInactiveFeeds() {
if (dijit.byId("inactiveFeedsDlg"))
dijit.byId("inactiveFeedsDlg").destroyRecursive();
- dialog = new dijit.Dialog({
+ var dialog = new dijit.Dialog({
id: "inactiveFeedsDlg",
title: __("Feeds without recent updates"),
style: "width: 600px",
@@ -1152,7 +1152,7 @@ function editProfiles() {
var query = "backend.php?op=pref-prefs&method=editPrefProfiles";
- dialog = new dijit.Dialog({
+ var dialog = new dijit.Dialog({
id: "profileEditDlg",
title: __("Settings Profiles"),
style: "width: 600px",
@@ -1347,7 +1347,7 @@ function editLabel(id) {
if (dijit.byId("labelEditDlg"))
dijit.byId("labelEditDlg").destroyRecursive();
- dialog = new dijit.Dialog({
+ var dialog = new dijit.Dialog({
id: "labelEditDlg",
title: __("Label Editor"),
style: "width: 600px",
@@ -1415,7 +1415,7 @@ function customizeCSS() {
if (dijit.byId("cssEditDlg"))
dijit.byId("cssEditDlg").destroyRecursive();
- dialog = new dijit.Dialog({
+ var dialog = new dijit.Dialog({
id: "cssEditDlg",
title: __("Customize stylesheet"),
style: "width: 600px",
diff --git a/js/tt-rss.js b/js/tt-rss.js
index d5d31cfed..42558d4fa 100644
--- a/js/tt-rss.js
+++ b/js/tt-rss.js
@@ -160,7 +160,7 @@ function search() {
if (dijit.byId("searchDlg"))
dijit.byId("searchDlg").destroyRecursive();
- dialog = new dijit.Dialog({
+ var dialog = new dijit.Dialog({
id: "searchDlg",
title: __("Search"),
style: "width: 600px",
diff --git a/js/viewfeed.js b/js/viewfeed.js
index 925d71379..a00ac6f66 100755
--- a/js/viewfeed.js
+++ b/js/viewfeed.js
@@ -1024,7 +1024,7 @@ function editArticleTags(id) {
if (dijit.byId("editTagsDlg"))
dijit.byId("editTagsDlg").destroyRecursive();
- dialog = new dijit.Dialog({
+ var dialog = new dijit.Dialog({
id: "editTagsDlg",
title: __("Edit article Tags"),
style: "width: 600px",