Skip to content

Commit

Permalink
Merge pull request #1872 from reciprocity/hotfix/fix-response-options…
Browse files Browse the repository at this point in the history
…-not-saving

Remove "can.List.newInstance" attribute defs from Task objects
  • Loading branch information
laran committed Oct 8, 2014
2 parents 9161328 + 3069e57 commit bae3071
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
13 changes: 0 additions & 13 deletions src/ggrc_workflows/assets/javascripts/models/cycle_models.js
Original file line number Diff line number Diff line change
Expand Up @@ -277,19 +277,6 @@
contact: "CMS.Models.Person.stub",
context: "CMS.Models.Context.stub",
cycle: "CMS.Models.Cycle.stub",
response_options: "can.List.newInstance",
selected_response_options: "can.List.newInstance"
},

serialize: {
// JSONType: function(val) {
// return JSON.stringify(can.List.prototype.serialize.call(val));
// }
},
convert: {
// JSONType: function(source) {
// return new can.List(source.serialize ? source.serialize() : source).attr("serialize", null);
// }
},

tree_view_options: {
Expand Down
1 change: 0 additions & 1 deletion src/ggrc_workflows/assets/javascripts/models/task_group.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@
contact: "CMS.Models.Person.stub",
modified_by: "CMS.Models.Person.stub",
task_group: "CMS.Models.TaskGroup.stub",
response_options: "can.List.newInstance"
},

init: function() {
Expand Down

0 comments on commit bae3071

Please # to comment.