} else {
newid = id;
}
- console.log('update newid: ' + newid);
var localLoadContact = function(id) {
if($('#contacts li').length > 0) {
$('#leftcontent li[data-id="'+newid+'"]').addClass('active');
if(newlistitem != undefined) {
newid = newlistitem.data('id');
}
- console.log('newid: ' + newid);
$('#rightcontent').data('id',newid);
this.id = this.fn = this.fullname = this.shortname = this.famname = this.givname = this.addname = this.honpre = this.honsuf = '';
this.data = undefined;