]> git.wh0rd.org - tt-rss.git/blobdiff - classes/feeds.php
rework the way headlines menus identify calling row
[tt-rss.git] / classes / feeds.php
index 500c50a74c1e962c3918a3aad0a7e0952b05ead3..5c7e8a18f18b7d7e97976a3bc2cf84723cfc8086 100755 (executable)
@@ -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=\"".