bypass D* markdown bug for now

This commit is contained in:
friendica 2012-01-09 18:52:49 -08:00
parent 3bdcb52471
commit a13156c0f3
5 changed files with 31 additions and 3 deletions

View file

@ -433,6 +433,25 @@
function preview_post() {
$("#jot-preview").val("1");
$("#jot-preview-content").show();
tinyMCE.triggerSave();
$.post(
"item",
$("#profile-jot-form").serialize(),
function(data) {
if(data.preview) {
$("#jot-preview-content").html(data.preview);
$("#jot-preview-content" + " a").removeAttr('href');
}
},
"json"
);
$("#jot-preview").val("1");
return true;
}
function unpause() {
// unpause auto reloads if they are currently stopped