diff --git a/dist/habitrpg-shared.js b/dist/habitrpg-shared.js index f800aedbb1..ac401e846e 100644 --- a/dist/habitrpg-shared.js +++ b/dist/habitrpg-shared.js @@ -11652,6 +11652,12 @@ var process=require("__browserify_process");(function() { if (user.preferences.newTaskEdit) { task._editing = true; } + if (user.preferences.tagsCollapsed) { + task._tags = true; + } + if (user.preferences.advancedCollapsed) { + task._advanced = true; + } if (typeof cb === "function") { cb(null, task); } diff --git a/script/index.coffee b/script/index.coffee index b1cf6e2380..9e11bd756e 100644 --- a/script/index.coffee +++ b/script/index.coffee @@ -500,6 +500,8 @@ api.wrap = (user, main=true) -> task = api.taskDefaults(req.body) user["#{task.type}s"].unshift(task) if user.preferences.newTaskEdit then task._editing = true + if user.preferences.tagsCollapsed then task._tags = true + if user.preferences.advancedCollapsed then task._advanced = true cb? null, task task