make sure scripts are kept marked as published when syncing up
This commit is contained in:
Родитель
2c345a102c
Коммит
823bd86435
|
@ -273,7 +273,8 @@ module TDev {
|
|||
body.script = "";
|
||||
else if ((Cloud.lite && body.status == "published") || body.status == "unpublished" || body.status == "tobepublished") {
|
||||
body.script = sanitizeScriptTextForCloud(data.script);
|
||||
body.status = "unpublished";
|
||||
if (body.status == "tobepublished")
|
||||
body.status = "unpublished";
|
||||
}
|
||||
else
|
||||
body.script = undefined;
|
||||
|
|
Загрузка…
Ссылка в новой задаче