allow (our own) ajax urls to pass through bbcode intact.

This commit is contained in:
friendica
2014-10-09 20:59:33 -07:00
parent c782272927
commit 4634049549
4 changed files with 11 additions and 7 deletions

View File

@@ -896,12 +896,14 @@ function updateConvItems(mode,data) {
function importElement(elem) {
$.post(
"impel",
{ "element" : elem }
{ "element" : elem },
function(data) {
if(timer) clearTimeout(timer);
timer = setTimeout(NavUpdate,10);
}
);
if(timer) clearTimeout(timer);
timer = setTimeout(NavUpdate,10);
return true;
return false;
}
function preview_post() {