summaryrefslogtreecommitdiff
path: root/classes/feeds.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-02-17 09:01:45 +0300
committerAndrew Dolgov <[email protected]>2017-02-17 09:01:45 +0300
commitb835a528148783a5436b88baba33d1210562ef93 (patch)
tree3822ef2c8828e686ca09903501a85ee20361ab77 /classes/feeds.php
parent3102a1b338b10d03d6492cb06314a829dfc3da26 (diff)
rework the way headlines menus identify calling row
Diffstat (limited to 'classes/feeds.php')
-rwxr-xr-xclasses/feeds.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/classes/feeds.php b/classes/feeds.php
index 500c50a74..5c7e8a18f 100755
--- a/classes/feeds.php
+++ b/classes/feeds.php
@@ -611,9 +611,11 @@ class Feeds extends Handler_Protected {
}
}
+ // data-article-id included for context menu
$reply['content'] .= "<span id=\"RTITLE-$id\"
onclick=\"return cdmClicked(event, $id);\"
- class=\"titleWrap hlMenuAttach $hlc_suffix\">
+ data-article-id=\"$id\"
+ class=\"titleWrap hlMenuAttach $hlc_suffix\">
<a class=\"title $hlc_suffix\"
title=\"".htmlspecialchars($line["title"])."\"
target=\"_blank\" rel=\"noopener noreferrer\" href=\"".