resolving issue where the post window stays open during navigation

- app.close_post_window now neatly closes the post window
v1.18.x
Julian Lam 12 years ago
parent 74c13ba299
commit 624ccc592c

@ -48,6 +48,9 @@ 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);

@ -237,9 +237,9 @@ var express = require('express'),
app.get('/api/:method/:id*', api_method);
app.get('/test', function(req, res) {
topics.get_latest_undeleted_pid(5, function(pid) {
res.send(pid);
});
// topics.get_latest_undeleted_pid(5, function(pid) {
// res.send(pid);
// });
});

Loading…
Cancel
Save