possible fix to post window opening on page load

This commit is contained in:
Baris Usakli
2013-05-23 12:10:57 -04:00
parent fe37dfecf7
commit 58d12c9c7c
2 changed files with 9 additions and 11 deletions

View File

@@ -48,9 +48,6 @@ var ajaxify = {};
jQuery('#footer, #content').fadeOut(100);
// Close the post window if it is open
app.close_post_window();
templates.load_template(function() {
exec_body_scripts(content);
@@ -62,6 +59,7 @@ var ajaxify = {};
app.process_page();
jQuery('#content, #footer').fadeIn(200);
app.close_post_window();
}, url, template);
return true;