no need to store taskbar

v1.18.x
Baris Soner Usakli 11 years ago
parent 57d2db36e6
commit 845e5e7986

@ -1,7 +1,6 @@
define(['taskbar'], function(taskbar) { define(['taskbar'], function(taskbar) {
var composer = { var composer = {
active: undefined, active: undefined,
taskbar: taskbar,
posts: {} posts: {}
}; };
@ -30,7 +29,7 @@ define(['taskbar'], function(taskbar) {
var uuid = utils.generateUUID(); var uuid = utils.generateUUID();
composer.taskbar.push('composer', uuid, { taskbar.push('composer', uuid, {
title: (!threadData.cid ? (threadData.title || '') : 'New Topic'), title: (!threadData.cid ? (threadData.title || '') : 'New Topic'),
icon: threadData.picture icon: threadData.picture
}); });

Loading…
Cancel
Save