1
0
Fork 0

testbubble showing post jot-tools on edit page - these are not changed so should not be visible

This commit is contained in:
Friendika 2011-11-10 18:20:25 -08:00
commit 199da623ff
2 changed files with 15 additions and 12 deletions

View file

@ -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();
});
}