From: Mike Macgirvin Date: Wed, 29 Sep 2010 23:09:10 +0000 (-0700) Subject: moved a couple of translatable strings from js include file to translatable view X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8ba3737b3b7284c9b7cf40028240ebf89daad1d7;p=friendica.git moved a couple of translatable strings from js include file to translatable view --- diff --git a/include/main.js b/include/main.js index 3b6528ee95..fcb6677d32 100644 --- a/include/main.js +++ b/include/main.js @@ -16,20 +16,6 @@ document.getElementById(theID).style.display = "none" } - function commentOpen(obj,id) { - if(obj.value == 'Comment') { - obj.value = ''; - obj.className = "comment-edit-text-full"; - openMenu("comment-edit-submit-wrapper-" + id); - } - } - function commentClose(obj,id) { - if(obj.value == '') { - obj.value = 'Comment'; - obj.className="comment-edit-text-empty"; - closeMenu("comment-edit-submit-wrapper-" + id); - } - } var src = null; var prev = null; @@ -137,10 +123,6 @@ } - function confirmDelete() { - return confirm("Delete this item?"); - } - function imgbright(node) { $(node).attr("src",$(node).attr("src").replace('hide','show')); $(node).css('width',24); diff --git a/view/head.tpl b/view/head.tpl index dd6162f09e..fc2177b8db 100644 --- a/view/head.tpl +++ b/view/head.tpl @@ -7,5 +7,24 @@ +