From 199da623ff8895e7aaec27599abb09dadd110d47 Mon Sep 17 00:00:00 2001 From: Friendika Date: Thu, 10 Nov 2011 18:20:25 -0800 Subject: testbubble showing post jot-tools on edit page - these are not changed so should not be visible --- view/theme/testbubble/jot-header.tpl | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) (limited to 'view/theme') diff --git a/view/theme/testbubble/jot-header.tpl b/view/theme/testbubble/jot-header.tpl index 4a1526ab5..62351e173 100644 --- a/view/theme/testbubble/jot-header.tpl +++ b/view/theme/testbubble/jot-header.tpl @@ -83,18 +83,20 @@ function initEditor(cb) { }); ed.onInit.add(function(ed) { ed.pasteAsPlainText = true; - $("#profile-jot-text-loading").hide(); - $("#profile-jot-submit-wrapper").show(); - $("#profile-upload-wrapper").show(); - $("#profile-attach-wrapper").show(); - $("#profile-link-wrapper").show(); - $("#profile-video-wrapper").show(); - $("#profile-audio-wrapper").show(); - $("#profile-location-wrapper").show(); - $("#profile-nolocation-wrapper").show(); - $("#profile-title-wrapper").show(); - $("#profile-jot-plugin-wrapper").show(); - $("#character-counter").show(); + $("#profile-jot-text-loading").hide(); + $("#profile-jot-submit-wrapper").show(); + {{ if $newpost }} + $("#profile-upload-wrapper").show(); + $("#profile-attach-wrapper").show(); + $("#profile-link-wrapper").show(); + $("#profile-video-wrapper").show(); + $("#profile-audio-wrapper").show(); + $("#profile-location-wrapper").show(); + $("#profile-nolocation-wrapper").show(); + $("#profile-title-wrapper").show(); + $("#profile-jot-plugin-wrapper").show(); + {{ endif }} + $("#character-counter").show(); if (typeof cb!="undefined") cb(); }); } -- cgit v1.2.3