1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-12-01 13:24:10 +01:00

Remove unnecessary rendering updating of name.

This commit is contained in:
Mario Ferraro 2012-12-18 10:36:31 +00:00
parent 310faabdd8
commit f60bda4d23

View File

@ -313,8 +313,6 @@ OC.Contacts = OC.Contacts || {};
self.data.FN = [{name:'FN', value:'', parameters:[]}];
}
self.data.FN[0]['value'] = value;
// Update the list element
self.$listelem.find('.nametext').text(value);
var nempty = true;
if(!self.data.N) {
// TODO: Maybe add a method for constructing new elements?