|
@@ -1708,7 +1708,7 @@ ${ assist.assistPanel() }
|
|
|
"destination": ko.mapping.toJSON(self.destination),
|
|
"destination": ko.mapping.toJSON(self.destination),
|
|
|
"start_time": ko.mapping.toJSON((new Date()).getTime())
|
|
"start_time": ko.mapping.toJSON((new Date()).getTime())
|
|
|
}, function (resp) {
|
|
}, function (resp) {
|
|
|
- if (resp.history_uuid) {
|
|
|
|
|
|
|
+ if (resp.status == 0 && resp.history_uuid) {
|
|
|
$.jHueNotify.info("${ _('Task submitted.') }");
|
|
$.jHueNotify.info("${ _('Task submitted.') }");
|
|
|
huePubSub.publish('notebook.task.submitted', resp.history_uuid);
|
|
huePubSub.publish('notebook.task.submitted', resp.history_uuid);
|
|
|
} else {
|
|
} else {
|