integrating the new post window into the forum

This commit is contained in:
Julian Lam
2013-06-04 16:20:27 -04:00
parent 446bd3a022
commit 676ddcd3e3
5 changed files with 244 additions and 26 deletions

View File

@@ -6,7 +6,9 @@
var new_post = document.getElementById('new_post');
new_post.onclick = function() {
app.open_post_window('topic', cid);
require(['composer'], function(cmp) {
cmp.push(0, cid);
});
}
ajaxify.register_events([