summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimur Sufiev <tsufiev@mirantis.com>2015-06-12 10:36:54 -0700
committerTimur Sufiev <tsufiev@mirantis.com>2015-06-12 10:39:07 -0700
commit30c615bf9bb9ac285212d9f3e621038f2dbe19d7 (patch)
tree2c6a612be358c9b66580ccd0be462455da395fdb
parent515eaf0892dd5bd4031250cddae6f91ff848fb11 (diff)
Remove explicit type from Task snippet in the YAML template
Notes
Notes (review): Verified+2: Jenkins Code-Review+2: Timur Sufiev <tsufiev@mirantis.com> Workflow+1: Timur Sufiev <tsufiev@mirantis.com> Submitted-by: Jenkins Submitted-at: Fri, 12 Jun 2015 17:56:26 +0000 Reviewed-on: https://review.openstack.org/191159 Project: stackforge/merlin Branch: refs/heads/master
-rw-r--r--extensions/mistral/static/mistral/js/mistral.workbook.models.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/extensions/mistral/static/mistral/js/mistral.workbook.models.js b/extensions/mistral/static/mistral/js/mistral.workbook.models.js
index 1d0a103..87df39d 100644
--- a/extensions/mistral/static/mistral/js/mistral.workbook.models.js
+++ b/extensions/mistral/static/mistral/js/mistral.workbook.models.js
@@ -196,6 +196,11 @@
196 remove: function() { 196 remove: function() {
197 this.emit('change', 'taskRemove', this.getID()); 197 this.emit('change', 'taskRemove', this.getID());
198 }, 198 },
199 _getPrettyJSON: function() {
200 var json = fields.frozendict._getPrettyJSON.apply(this, arguments);
201 delete json.type;
202 return json;
203 }
199 }, { 204 }, {
200 '@meta': { 205 '@meta': {
201 'baseKey': 'task', 206 'baseKey': 'task',