aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon <simon@kisikew.org>2012-03-16 18:24:26 -0700
committerSimon <simon@kisikew.org>2012-03-16 18:24:26 -0700
commit4a6f114ec008002f439214aac1d006d8db4051ac (patch)
tree8cb7d68340d40e78e8a8ea2a1618250749a6edb9
parent8af36b92bb3a78235f5741c764d034dc66b959b2 (diff)
parent75883b196ed222b9972c87ce00b8e7c2ab29c05e (diff)
downloadvolse-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
-rwxr-xr-xmod/display.php10
-rwxr-xr-xview/theme/darkzero-NS/theme.php3
-rw-r--r--view/theme/dispy/theme.php3
3 files changed, 9 insertions, 7 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] : '');
diff --git a/view/theme/darkzero-NS/theme.php b/view/theme/darkzero-NS/theme.php
index 3598e34f2..2d3e4fd56 100755
--- a/view/theme/darkzero-NS/theme.php
+++ b/view/theme/darkzero-NS/theme.php
@@ -52,9 +52,6 @@ $('.savedsearchterm').hover(
$('#drop-' + id).removeClass('icon');$('#drop-' + id).removeClass('drophide'); $('#drop-' + id).addClass('iconspacer');}
);
- // make auto-complete work in more places
- $(".wall-item-comment-wrapper textarea").contact_autocomplete(baseurl+"/acl");
-
});
diff --git a/view/theme/dispy/theme.php b/view/theme/dispy/theme.php
index 9f0fcba82..26e07b1f7 100644
--- a/view/theme/dispy/theme.php
+++ b/view/theme/dispy/theme.php
@@ -108,9 +108,6 @@ $(document).ready(function() {
$(this).css({color: '#eec'});
});
- // make auto-complete work in more places
- $(".wall-item-comment-wrapper textarea").contact_autocomplete(baseurl+"/acl");
-
/* $('#profile-photo-wrapper').mouseover(function() {
$('.profile-edit-side-div').css({display: 'block'});
}).mouseout(function() {