This commit is contained in:
Thomas Tanghus 2012-03-26 19:13:48 +02:00
Родитель 102cf150b3
Коммит 6ff89dcf72
1 изменённых файлов: 1 добавлений и 10 удалений

Просмотреть файл

@ -122,13 +122,4 @@ if(!OC_Contacts_VCard::edit($id,$vcard)) {
exit(); exit();
} }
$adr_types = OC_Contacts_App::getTypesOfProperty('ADR'); OC_JSON::success(array('data' => array( 'checksum' => $checksum )));
$phone_types = OC_Contacts_App::getTypesOfProperty('TEL');
$tmpl = new OC_Template('contacts','part.property');
$tmpl->assign('adr_types',$adr_types);
$tmpl->assign('phone_types',$phone_types);
$tmpl->assign('property',OC_Contacts_VCard::structureProperty($property,$line));
$page = $tmpl->fetchPage();
OC_JSON::success(array('data' => array( 'checksum' => $checksum, 'page' => $page )));