diff options
author | friendica <info@friendica.com> | 2014-10-09 20:59:33 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-10-09 20:59:33 -0700 |
commit | 4634049549fb0ee7350bb6328f24b36c21a19855 (patch) | |
tree | 10ff593e8ed4216b02556ca26054e7e5226eac89 /view | |
parent | c78227292709f8f36206c7234dbf3548e476d442 (diff) | |
download | volse-hubzilla-4634049549fb0ee7350bb6328f24b36c21a19855.tar.gz volse-hubzilla-4634049549fb0ee7350bb6328f24b36c21a19855.tar.bz2 volse-hubzilla-4634049549fb0ee7350bb6328f24b36c21a19855.zip |
allow (our own) ajax urls to pass through bbcode intact.
Diffstat (limited to 'view')
-rw-r--r-- | view/js/main.js | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/view/js/main.js b/view/js/main.js index 0560bc875..f58d3756b 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -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() { |