[#25,model][xs]: remove artificial field attribute (follow up to penultimate commit cf42e43ff0).
This commit is contained in:
@@ -97,6 +97,7 @@ my.Field = Backbone.Model.extend({
|
||||
// if a hash not passed in the first argument is set as value for key 0
|
||||
if ('0' in data) {
|
||||
this.set({id: data['0']});
|
||||
this.unset('0');
|
||||
}
|
||||
if (this.attributes.label == null) {
|
||||
this.set({label: this.id});
|
||||
|
||||
Reference in New Issue
Block a user