diff options
author | Michael Vogel <icarus@dabo.de> | 2012-04-15 16:49:54 +0200 |
---|---|---|
committer | Michael Vogel <icarus@dabo.de> | 2012-04-15 16:49:54 +0200 |
commit | a147d6113c081694d4209002fa5e57106d4c6f41 (patch) | |
tree | de6f940efa0439ab3d54ff7d280e221b7b59d348 /view/theme/diabook-aerith/theme.php | |
parent | e825a73f1de308b6ae0ae3cc5549263704a14594 (diff) | |
parent | f994f9abc6092106659a29f5ee1be0706825c203 (diff) | |
download | volse-hubzilla-a147d6113c081694d4209002fa5e57106d4c6f41.tar.gz volse-hubzilla-a147d6113c081694d4209002fa5e57106d4c6f41.tar.bz2 volse-hubzilla-a147d6113c081694d4209002fa5e57106d4c6f41.zip |
Merge commit 'upstream/master'
Diffstat (limited to 'view/theme/diabook-aerith/theme.php')
-rw-r--r--[-rwxr-xr-x] | view/theme/diabook-aerith/theme.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/view/theme/diabook-aerith/theme.php b/view/theme/diabook-aerith/theme.php index 53c564a94..907865207 100755..100644 --- a/view/theme/diabook-aerith/theme.php +++ b/view/theme/diabook-aerith/theme.php @@ -292,6 +292,10 @@ $a->page['htmlhead'] .= sprintf('<script language="JavaScript" src="%s" ></scrip $imageresizeJS = $a->get_baseurl($ssl_state)."/view/theme/diabook-aerith/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-aerith/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"){ @@ -315,6 +319,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> |