summaryrefslogtreecommitdiff
path: root/js/functions.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-12-01 21:01:53 +0300
committerAndrew Dolgov <[email protected]>2018-12-01 21:01:53 +0300
commit642c37ea6117954fc19e2a800f2fce4c1304d89d (patch)
treebfe5e86b69f74345f900bcdeff2acb72c36b192c /js/functions.js
parent4bed9be57d671324921bfd1d90d25b8cd0af3d4f (diff)
further effocts to wrap JS stuff into objects
Diffstat (limited to 'js/functions.js')
-rwxr-xr-xjs/functions.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/functions.js b/js/functions.js
index 0bddbbf0e..1a0fca484 100755
--- a/js/functions.js
+++ b/js/functions.js
@@ -878,7 +878,7 @@ function toggleSelectRow2(sender, row, is_cdm) {
row.removeClassName('Selected');
if (typeof updateSelectedPrompt != undefined)
- updateSelectedPrompt();
+ Headlines.updateSelectedPrompt();
}
@@ -892,7 +892,7 @@ function toggleSelectRow(sender, row) {
row.removeClassName('Selected');
if (typeof updateSelectedPrompt != undefined)
- updateSelectedPrompt();
+ Headlines.updateSelectedPrompt();
}
// noinspection JSUnusedGlobalSymbols
@@ -1412,7 +1412,7 @@ function quickAddFilter() {
} else {
- const query = { op: "rpc", method: "getlinktitlebyid", id: getActiveArticleId() };
+ const query = { op: "rpc", method: "getlinktitlebyid", id: Article.getActiveArticleId() };
xhrPost("backend.php", query, (transport) => {
const reply = JSON.parse(transport.responseText);