X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftemplates%2Fhead.tpl;h=427948073282b58bcaf0ae091fdb55c5fcb3e6e4;hb=191595766d399cfd012a10ef6f14f97c8ab87d1d;hp=1b01b71a05dafd9ac9fa6cc5d56a8c792cfcb446;hpb=f090564f0feb01ef34aef56a7a63d99757bb901a;p=friendica.git diff --git a/view/templates/head.tpl b/view/templates/head.tpl index 1b01b71a05..4279480732 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 - * - *}} + + {{**}} + + + + @@ -42,6 +43,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 = '';