1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2025-01-18 07:52:21 +01:00

Fixing js syntax error

This commit is contained in:
Thomas Müller 2015-06-30 00:01:27 +02:00
parent 1cb89b037d
commit a62bed78bb

View File

@ -324,7 +324,7 @@ OC.Contacts = OC.Contacts || {};
$elem.find('select.type[name="parameters[TYPE][]"], select.type[name="parameters[X-SERVICE-TYPE]"]')
.combobox({
singleclick: true,
classes: ['propertytype', 'float', 'label'],
classes: ['propertytype', 'float', 'label']
});
}
};
@ -556,13 +556,13 @@ OC.Contacts = OC.Contacts || {};
action:'add',
name: element,
newchecksum: response.data.checksum,
newvalue: value,
newvalue: value
});
self.data[element].push({
name: element,
value: value,
parameters: parameters,
checksum: response.data.checksum,
checksum: response.data.checksum
});
}
self.propertyContainerFor(obj).data('checksum', response.data.checksum);
@ -572,7 +572,7 @@ OC.Contacts = OC.Contacts || {};
self.pushToUndo({
action: ((obj && obj.defaultValue) || self.data[element].length) ? 'save' : 'add', // FIXME
name: element,
newvalue: value,
newvalue: value
});
switch(element) {
case 'CATEGORIES':