mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-19 08:52:22 +01:00
Merge pull request #560 from AdamWill/536
correct selection of current type for multi-type parameters: #536
This commit is contained in:
commit
8311a3ab62
@ -1452,7 +1452,7 @@ OC.Contacts = OC.Contacts || {};
|
||||
}
|
||||
else if(param.toUpperCase() === 'TYPE') {
|
||||
for(var etype in property.parameters[param]) {
|
||||
if(!property.parameters[param].hasOwnProperty(etype)) {
|
||||
if(property.parameters[param].hasOwnProperty(etype)) {
|
||||
var found = false;
|
||||
var et = property.parameters[param][etype];
|
||||
if(typeof et !== 'string') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user