X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftemplates%2Fhead.tpl;h=f2f2d3487a66d244c3c920759eea06929c1b4046;hb=d20dbedddd4bf6ebb511f82e41026896b8026d6e;hp=1b01b71a05dafd9ac9fa6cc5d56a8c792cfcb446;hpb=f090564f0feb01ef34aef56a7a63d99757bb901a;p=friendica.git
diff --git a/view/templates/head.tpl b/view/templates/head.tpl
index 1b01b71a05..f2f2d3487a 100644
--- a/view/templates/head.tpl
+++ b/view/templates/head.tpl
@@ -1,20 +1,21 @@
-{{*
- * AUTOMATICALLY GENERATED TEMPLATE
- * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
- *
- *}}
+
-{{**}}
+
+
+
+
+
+
@@ -26,12 +27,15 @@
+
+
+
-{{**}}
+
@@ -42,6 +46,15 @@
var localUser = {{if $local_user}}{{$local_user}}{{else}}false{{/if}};
function confirmDelete() { return confirm("{{$delitem}}"); }
+ function commentExpand(id) {
+ $("#comment-edit-text-" + id).value = '';
+ $("#comment-edit-text-" + id).addClass("comment-edit-text-full");
+ $("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
+ $("#comment-edit-text-" + id).focus();
+ $("#mod-cmnt-wrap-" + id).show();
+ openMenu("comment-edit-submit-wrapper-" + id);
+ return true;
+ }
function commentOpen(obj,id) {
if(obj.value == '{{$comment}}') {
obj.value = '';