Merge branch 'js-strict-mode' of wn/tt-rss into js-strict-mode

This commit is contained in:
fox 2018-03-11 08:38:55 +00:00 committed by Gogs
commit f60ca3a349
4 changed files with 15 additions and 15 deletions

View file

@ -301,7 +301,7 @@ function getURLParam(param){
} }
function closeInfoBox() { function closeInfoBox() {
dialog = dijit.byId("infoBox"); var dialog = dijit.byId("infoBox");
if (dialog) dialog.hide(); if (dialog) dialog.hide();
@ -939,7 +939,7 @@ function quickAddFilter() {
if (dijit.byId("filterEditDlg")) if (dijit.byId("filterEditDlg"))
dijit.byId("filterEditDlg").destroyRecursive(); dijit.byId("filterEditDlg").destroyRecursive();
dialog = new dijit.Dialog({ var dialog = new dijit.Dialog({
id: "filterEditDlg", id: "filterEditDlg",
title: __("Create Filter"), title: __("Create Filter"),
style: "width: 600px", style: "width: 600px",
@ -1257,7 +1257,7 @@ function editFeed(feed) {
if (dijit.byId("feedEditDlg")) if (dijit.byId("feedEditDlg"))
dijit.byId("feedEditDlg").destroyRecursive(); dijit.byId("feedEditDlg").destroyRecursive();
dialog = new dijit.Dialog({ var dialog = new dijit.Dialog({
id: "feedEditDlg", id: "feedEditDlg",
title: __("Edit Feed"), title: __("Edit Feed"),
style: "width: 600px", style: "width: 600px",
@ -1432,7 +1432,7 @@ function showFeedsWithErrors() {
if (dijit.byId("errorFeedsDlg")) if (dijit.byId("errorFeedsDlg"))
dijit.byId("errorFeedsDlg").destroyRecursive(); dijit.byId("errorFeedsDlg").destroyRecursive();
dialog = new dijit.Dialog({ var dialog = new dijit.Dialog({
id: "errorFeedsDlg", id: "errorFeedsDlg",
title: __("Feeds with update errors"), title: __("Feeds with update errors"),
style: "width: 600px", style: "width: 600px",

View file

@ -91,7 +91,7 @@ function editUser(id) {
if (dijit.byId("userEditDlg")) if (dijit.byId("userEditDlg"))
dijit.byId("userEditDlg").destroyRecursive(); dijit.byId("userEditDlg").destroyRecursive();
dialog = new dijit.Dialog({ var dialog = new dijit.Dialog({
id: "userEditDlg", id: "userEditDlg",
title: __("User Editor"), title: __("User Editor"),
style: "width: 600px", style: "width: 600px",
@ -126,7 +126,7 @@ function editFilter(id) {
if (dijit.byId("filterEditDlg")) if (dijit.byId("filterEditDlg"))
dijit.byId("filterEditDlg").destroyRecursive(); dijit.byId("filterEditDlg").destroyRecursive();
dialog = new dijit.Dialog({ var dialog = new dijit.Dialog({
id: "filterEditDlg", id: "filterEditDlg",
title: __("Edit Filter"), title: __("Edit Filter"),
style: "width: 600px", style: "width: 600px",
@ -474,7 +474,7 @@ function selectedUserDetails() {
if (dijit.byId("userDetailsDlg")) if (dijit.byId("userDetailsDlg"))
dijit.byId("userDetailsDlg").destroyRecursive(); dijit.byId("userDetailsDlg").destroyRecursive();
dialog = new dijit.Dialog({ var dialog = new dijit.Dialog({
id: "userDetailsDlg", id: "userDetailsDlg",
title: __("User details"), title: __("User details"),
style: "width: 600px", style: "width: 600px",
@ -676,7 +676,7 @@ function opmlImportComplete(iframe) {
var content = iframe.contentDocument.body.innerHTML; var content = iframe.contentDocument.body.innerHTML;
dialog = new dijit.Dialog({ var dialog = new dijit.Dialog({
id: "opmlImportDlg", id: "opmlImportDlg",
title: __("OPML Import"), title: __("OPML Import"),
style: "width: 600px", style: "width: 600px",
@ -1038,7 +1038,7 @@ function showInactiveFeeds() {
if (dijit.byId("inactiveFeedsDlg")) if (dijit.byId("inactiveFeedsDlg"))
dijit.byId("inactiveFeedsDlg").destroyRecursive(); dijit.byId("inactiveFeedsDlg").destroyRecursive();
dialog = new dijit.Dialog({ var dialog = new dijit.Dialog({
id: "inactiveFeedsDlg", id: "inactiveFeedsDlg",
title: __("Feeds without recent updates"), title: __("Feeds without recent updates"),
style: "width: 600px", style: "width: 600px",
@ -1152,7 +1152,7 @@ function editProfiles() {
var query = "backend.php?op=pref-prefs&method=editPrefProfiles"; var query = "backend.php?op=pref-prefs&method=editPrefProfiles";
dialog = new dijit.Dialog({ var dialog = new dijit.Dialog({
id: "profileEditDlg", id: "profileEditDlg",
title: __("Settings Profiles"), title: __("Settings Profiles"),
style: "width: 600px", style: "width: 600px",
@ -1347,7 +1347,7 @@ function editLabel(id) {
if (dijit.byId("labelEditDlg")) if (dijit.byId("labelEditDlg"))
dijit.byId("labelEditDlg").destroyRecursive(); dijit.byId("labelEditDlg").destroyRecursive();
dialog = new dijit.Dialog({ var dialog = new dijit.Dialog({
id: "labelEditDlg", id: "labelEditDlg",
title: __("Label Editor"), title: __("Label Editor"),
style: "width: 600px", style: "width: 600px",
@ -1415,7 +1415,7 @@ function customizeCSS() {
if (dijit.byId("cssEditDlg")) if (dijit.byId("cssEditDlg"))
dijit.byId("cssEditDlg").destroyRecursive(); dijit.byId("cssEditDlg").destroyRecursive();
dialog = new dijit.Dialog({ var dialog = new dijit.Dialog({
id: "cssEditDlg", id: "cssEditDlg",
title: __("Customize stylesheet"), title: __("Customize stylesheet"),
style: "width: 600px", style: "width: 600px",

View file

@ -160,7 +160,7 @@ function search() {
if (dijit.byId("searchDlg")) if (dijit.byId("searchDlg"))
dijit.byId("searchDlg").destroyRecursive(); dijit.byId("searchDlg").destroyRecursive();
dialog = new dijit.Dialog({ var dialog = new dijit.Dialog({
id: "searchDlg", id: "searchDlg",
title: __("Search"), title: __("Search"),
style: "width: 600px", style: "width: 600px",

View file

@ -1024,7 +1024,7 @@ function editArticleTags(id) {
if (dijit.byId("editTagsDlg")) if (dijit.byId("editTagsDlg"))
dijit.byId("editTagsDlg").destroyRecursive(); dijit.byId("editTagsDlg").destroyRecursive();
dialog = new dijit.Dialog({ var dialog = new dijit.Dialog({
id: "editTagsDlg", id: "editTagsDlg",
title: __("Edit article Tags"), title: __("Edit article Tags"),
style: "width: 600px", style: "width: 600px",
@ -1259,7 +1259,7 @@ function catchupBatchedArticles() {
_catchup_request_sent = false; _catchup_request_sent = false;
reply = JSON.parse(transport.responseText); var reply = JSON.parse(transport.responseText);
var batch = reply.ids; var batch = reply.ids;
batch.each(function (id) { batch.each(function (id) {