aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/diabook-blue/theme.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-04-15 05:12:14 -0700
committerfriendica <info@friendica.com>2012-04-15 05:12:14 -0700
commit97715c73fcb5b6de582f7165f70526acaf24bc86 (patch)
tree5eaa59eaafef68b4c611333776e464ad08954bc4 /view/theme/diabook-blue/theme.php
parent0a3454c841e343a21ac637ae169c267442914ea0 (diff)
parentf299749758112361ee6384cd75d11b2c3a57352a (diff)
downloadvolse-hubzilla-97715c73fcb5b6de582f7165f70526acaf24bc86.tar.gz
volse-hubzilla-97715c73fcb5b6de582f7165f70526acaf24bc86.tar.bz2
volse-hubzilla-97715c73fcb5b6de582f7165f70526acaf24bc86.zip
Merge https://github.com/friendica/friendica into pull
Diffstat (limited to 'view/theme/diabook-blue/theme.php')
-rw-r--r--[-rwxr-xr-x]view/theme/diabook-blue/theme.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/view/theme/diabook-blue/theme.php b/view/theme/diabook-blue/theme.php
index 844682943..eb2d484ba 100755..100644
--- a/view/theme/diabook-blue/theme.php
+++ b/view/theme/diabook-blue/theme.php
@@ -290,6 +290,10 @@ $a->page['htmlhead'] .= sprintf('<script language="JavaScript" src="%s" ></scrip
$imageresizeJS = $a->get_baseurl($ssl_state)."/view/theme/diabook-blue/js/jquery.ae.image.resize.js";
$a->page['htmlhead'] .= sprintf('<script language="JavaScript" src="%s" ></script>', $imageresizeJS);
+//load jquery.autogrow-textarea.js
+$autogrowJS = $a->get_baseurl($ssl_state)."/view/theme/diabook-blue/js/jquery.autogrow.textarea.js";
+$a->page['htmlhead'] .= sprintf('<script language="JavaScript" src="%s" ></script>', $autogrowJS);
+
//js scripts
//comment-edit-wrapper on photo_view
if ($a->argv[0].$a->argv[2] === "photos"."image"){
@@ -314,6 +318,15 @@ $a->page['htmlhead'] .= '
});
</script>';
+
+$a->page['htmlhead'] .= '
+
+<script type="text/javascript">
+
+function tautogrow(id){
+ $("textarea#comment-edit-text-" +id).autogrow();
+ };
+ </script>';
$a->page['htmlhead'] .= '
<script>