From 16d45e5c13ee03783a62ab35a9989748d8e14711 Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Mon, 19 Dec 2011 18:02:43 +0100 Subject: quattro: first work on jot style --- view/jot-header.tpl | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'view/jot-header.tpl') diff --git a/view/jot-header.tpl b/view/jot-header.tpl index ecfed6c42..4186ef78e 100644 --- a/view/jot-header.tpl +++ b/view/jot-header.tpl @@ -81,7 +81,7 @@ function initEditor(cb){ ed.onInit.add(function(ed) { ed.pasteAsPlainText = true; $("#profile-jot-text-loading").hide(); - $("#profile-jot-submit-wrapper").show(); + $(".jothidden").show(); if (typeof cb!="undefined") cb(); }); @@ -98,19 +98,21 @@ function initEditor(cb){ } } +function enableOnUser(){ + if (editor) return; + $(this).val(""); + initEditor(); +} +