This commit is contained in:
barisusakli
2015-07-06 14:33:43 -04:00
parent 2d70733fa5
commit ffd22f50ff
28 changed files with 111 additions and 110 deletions

View File

@@ -92,7 +92,7 @@ app.cacheBuster = null;
switch(url_parts[0]) {
case 'user':
room = 'user/' + ajaxify.variables.get('theirid');
room = 'user/' + ajaxify.data.theirid;
break;
case 'topic':
room = 'topic_' + url_parts[1];
@@ -466,7 +466,7 @@ app.cacheBuster = null;
function handleNewTopic() {
$('#content').on('click', '#new_topic', function() {
var cid = ajaxify.variables.get('category_id');
var cid = ajaxify.data.cid;
if (cid) {
$(window).trigger('action:composer.topic.new', {
cid: cid