diff options
author | Fabio Comuni <fabrix.xm@gmail.com> | 2012-01-06 09:11:25 +0100 |
---|---|---|
committer | Fabio Comuni <fabrix.xm@gmail.com> | 2012-01-06 09:11:25 +0100 |
commit | efe308b5ac9ac7e8d399fb880f31b6967de8fec1 (patch) | |
tree | 2b4e9ba4d155b267d21551f97a155b3e04dc2b97 /view/jot-header.tpl | |
parent | a9670cbb7d2cab644ee9d499aade98164f92631a (diff) | |
download | volse-hubzilla-efe308b5ac9ac7e8d399fb880f31b6967de8fec1.tar.gz volse-hubzilla-efe308b5ac9ac7e8d399fb880f31b6967de8fec1.tar.bz2 volse-hubzilla-efe308b5ac9ac7e8d399fb880f31b6967de8fec1.zip |
Use html5 placeholder for title text input
Diffstat (limited to 'view/jot-header.tpl')
-rw-r--r-- | view/jot-header.tpl | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/view/jot-header.tpl b/view/jot-header.tpl index cdef9ef83..352c48647 100644 --- a/view/jot-header.tpl +++ b/view/jot-header.tpl @@ -113,42 +113,10 @@ function enableOnUser(){ $(document).ready(function() { -<<<<<<< HEAD /* enable tinymce on focus and click */ $("#profile-jot-text").focus(enableOnUser); $("#profile-jot-text").click(enableOnUser); -======= - /* enable tinymce on focus */ - $("#profile-jot-text").focus(function(){ - if (editor) return; - $(this).val(""); - initEditor(); - }); - - $("#jot-title").mouseout(function() { - $("#jot-title").hide(); - var ttl = $("#jot-title").val(); - $('#jot-title-display').html(ttl); - if(ttl.length) { - $("#jot-title-display").show(); - } - else { - $("#jot-title-desc").show(); - } - }); - $("#jot-title-display").hover(function() { - $("#jot-title-display").hide(); - $("#jot-title").show(); - $("#jot-title").focus(); - }); - - $("#jot-title-desc").click(function() { - $("#jot-title-desc").hide(); - $("#jot-title").show(); - $("#jot-title").focus(); - }); ->>>>>>> friendica/master var uploader = new window.AjaxUpload( 'wall-image-upload', |