1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2025-02-12 06:54:28 +01:00

getPreferedValue returns value with PREF flag

This commit is contained in:
Yourkov Mikhail 2014-09-16 01:22:50 +04:00
parent 34c9d3cce6
commit b5689d6c16

View File

@ -1757,6 +1757,7 @@ OC.Contacts = OC.Contacts || {};
} }
for(var param in prop.parameters) { for(var param in prop.parameters) {
if(param.toUpperCase() === 'PREF') { if(param.toUpperCase() === 'PREF') {
pref = prop.value;
found = true; // found = true; //
break; break;
} }