testbubble showing post jot-tools on edit page - these are not changed so should not be visible
This commit is contained in:
parent
c66b886d7e
commit
199da623ff
2 changed files with 15 additions and 12 deletions
|
@ -742,6 +742,7 @@ function status_editor($a,$x, $notes_cid = 0) {
|
||||||
$tpl = get_markup_template('jot-header.tpl');
|
$tpl = get_markup_template('jot-header.tpl');
|
||||||
|
|
||||||
$a->page['htmlhead'] .= replace_macros($tpl, array(
|
$a->page['htmlhead'] .= replace_macros($tpl, array(
|
||||||
|
'$newpost' => 'true',
|
||||||
'$baseurl' => $a->get_baseurl(),
|
'$baseurl' => $a->get_baseurl(),
|
||||||
'$geotag' => $geotag,
|
'$geotag' => $geotag,
|
||||||
'$nickname' => $x['nickname'],
|
'$nickname' => $x['nickname'],
|
||||||
|
|
|
@ -85,6 +85,7 @@ function initEditor(cb) {
|
||||||
ed.pasteAsPlainText = true;
|
ed.pasteAsPlainText = true;
|
||||||
$("#profile-jot-text-loading").hide();
|
$("#profile-jot-text-loading").hide();
|
||||||
$("#profile-jot-submit-wrapper").show();
|
$("#profile-jot-submit-wrapper").show();
|
||||||
|
{{ if $newpost }}
|
||||||
$("#profile-upload-wrapper").show();
|
$("#profile-upload-wrapper").show();
|
||||||
$("#profile-attach-wrapper").show();
|
$("#profile-attach-wrapper").show();
|
||||||
$("#profile-link-wrapper").show();
|
$("#profile-link-wrapper").show();
|
||||||
|
@ -94,6 +95,7 @@ function initEditor(cb) {
|
||||||
$("#profile-nolocation-wrapper").show();
|
$("#profile-nolocation-wrapper").show();
|
||||||
$("#profile-title-wrapper").show();
|
$("#profile-title-wrapper").show();
|
||||||
$("#profile-jot-plugin-wrapper").show();
|
$("#profile-jot-plugin-wrapper").show();
|
||||||
|
{{ endif }}
|
||||||
$("#character-counter").show();
|
$("#character-counter").show();
|
||||||
if (typeof cb!="undefined") cb();
|
if (typeof cb!="undefined") cb();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue