remove some plugin JS code out of global context
This commit is contained in:
@@ -115,7 +115,7 @@ class Af_Psql_Trgm extends Plugin {
|
||||
function hook_article_button($line) {
|
||||
return "<img src=\"plugins/af_psql_trgm/button.png\"
|
||||
style=\"cursor : pointer\" style=\"cursor : pointer\"
|
||||
onclick=\"showTrgmRelated(".$line["id"].")\"
|
||||
onclick=\"Plugins.Psql_Trgm.showRelated(".$line["id"].")\"
|
||||
class='tagsPic' title='".__('Show related articles')."'>";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user