diff options
author | Simon <simon@kisikew.org> | 2012-03-16 18:24:26 -0700 |
---|---|---|
committer | Simon <simon@kisikew.org> | 2012-03-16 18:24:26 -0700 |
commit | 4a6f114ec008002f439214aac1d006d8db4051ac (patch) | |
tree | 8cb7d68340d40e78e8a8ea2a1618250749a6edb9 /mod | |
parent | 8af36b92bb3a78235f5741c764d034dc66b959b2 (diff) | |
parent | 75883b196ed222b9972c87ce00b8e7c2ab29c05e (diff) | |
download | volse-hubzilla-4a6f114ec008002f439214aac1d006d8db4051ac.tar.gz volse-hubzilla-4a6f114ec008002f439214aac1d006d8db4051ac.tar.bz2 volse-hubzilla-4a6f114ec008002f439214aac1d006d8db4051ac.zip |
Merge pull request #144 from simonlnu/master
remove auto-complete from some themes since the comment one is now global
Diffstat (limited to 'mod')
-rwxr-xr-x | mod/display.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/mod/display.php b/mod/display.php index f428149e8..81ed174ac 100755 --- a/mod/display.php +++ b/mod/display.php @@ -16,7 +16,15 @@ function display_content(&$a) { $o = '<div id="live-display"></div>' . "\r\n"; - $a->page['htmlhead'] .= '<script>$(document).ready(function() { $(".comment-edit-wrapper textarea").contact_autocomplete(baseurl+"/acl"); });</script>'; + $a->page['htmlhead'] .= <<<EOT +<script> +$(document).ready(function() { + $(".comment-edit-wrapper textarea").contact_autocomplete(baseurl+"/acl"); + // make auto-complete work in more places + $(".wall-item-comment-wrapper textarea").contact_autocomplete(baseurl+"/acl"); +}); +</script> +EOT; $nick = (($a->argc > 1) ? $a->argv[1] : ''); |