mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-19 08:52:22 +01:00
Fixing js syntax error
This commit is contained in:
parent
1cb89b037d
commit
a62bed78bb
@ -324,7 +324,7 @@ OC.Contacts = OC.Contacts || {};
|
|||||||
$elem.find('select.type[name="parameters[TYPE][]"], select.type[name="parameters[X-SERVICE-TYPE]"]')
|
$elem.find('select.type[name="parameters[TYPE][]"], select.type[name="parameters[X-SERVICE-TYPE]"]')
|
||||||
.combobox({
|
.combobox({
|
||||||
singleclick: true,
|
singleclick: true,
|
||||||
classes: ['propertytype', 'float', 'label'],
|
classes: ['propertytype', 'float', 'label']
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -556,13 +556,13 @@ OC.Contacts = OC.Contacts || {};
|
|||||||
action:'add',
|
action:'add',
|
||||||
name: element,
|
name: element,
|
||||||
newchecksum: response.data.checksum,
|
newchecksum: response.data.checksum,
|
||||||
newvalue: value,
|
newvalue: value
|
||||||
});
|
});
|
||||||
self.data[element].push({
|
self.data[element].push({
|
||||||
name: element,
|
name: element,
|
||||||
value: value,
|
value: value,
|
||||||
parameters: parameters,
|
parameters: parameters,
|
||||||
checksum: response.data.checksum,
|
checksum: response.data.checksum
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
self.propertyContainerFor(obj).data('checksum', response.data.checksum);
|
self.propertyContainerFor(obj).data('checksum', response.data.checksum);
|
||||||
@ -572,7 +572,7 @@ OC.Contacts = OC.Contacts || {};
|
|||||||
self.pushToUndo({
|
self.pushToUndo({
|
||||||
action: ((obj && obj.defaultValue) || self.data[element].length) ? 'save' : 'add', // FIXME
|
action: ((obj && obj.defaultValue) || self.data[element].length) ? 'save' : 'add', // FIXME
|
||||||
name: element,
|
name: element,
|
||||||
newvalue: value,
|
newvalue: value
|
||||||
});
|
});
|
||||||
switch(element) {
|
switch(element) {
|
||||||
case 'CATEGORIES':
|
case 'CATEGORIES':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user