when you type correctly

This commit is contained in:
Baris Usakli
2013-11-01 15:07:41 -04:00
parent e12d02f29c
commit 6931695e64

View File

@@ -31,7 +31,7 @@ define(function () {
require(['composer'], function (cmp) {
cmp.push(0, cid);
});
}
});
ajaxify.register_events([
'event:new_topic'
@@ -80,6 +80,7 @@ define(function () {
};
Category.onNewTopic = function(data) {
console.log(data);
var html = templates.prepare(templates['category'].blocks['topics']).parse({
topics: [data]
}),