aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/diabook-red/theme.php
diff options
context:
space:
mode:
Diffstat (limited to 'view/theme/diabook-red/theme.php')
-rw-r--r--[-rwxr-xr-x]view/theme/diabook-red/theme.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/view/theme/diabook-red/theme.php b/view/theme/diabook-red/theme.php
index c7fa77985..479a0130a 100755..100644
--- a/view/theme/diabook-red/theme.php
+++ b/view/theme/diabook-red/theme.php
@@ -289,6 +289,9 @@ $a->page['htmlhead'] .= sprintf('<script language="JavaScript" src="%s" ></scrip
$imageresizeJS = $a->get_baseurl($ssl_state)."/view/theme/diabook-red/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-red/js/jquery.autogrow.textarea.js";
+$a->page['htmlhead'] .= sprintf('<script language="JavaScript" src="%s" ></script>', $autogrowJS);
//js scripts
//comment-edit-wrapper on photo_view
@@ -313,6 +316,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>