From 94523347f7da9c6abd5788f4fd202d7760b0bfd0 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Fri, 18 Nov 2016 14:52:27 +0100 Subject: [PATCH] Activate avatar widget for addressbook edit dialog --- addressbook/inc/class.addressbook_ui.inc.php | 1 + addressbook/templates/default/edit.xet | 21 +------------------- 2 files changed, 2 insertions(+), 20 deletions(-) diff --git a/addressbook/inc/class.addressbook_ui.inc.php b/addressbook/inc/class.addressbook_ui.inc.php index e6c4c5803c..9c960f3724 100644 --- a/addressbook/inc/class.addressbook_ui.inc.php +++ b/addressbook/inc/class.addressbook_ui.inc.php @@ -2366,6 +2366,7 @@ window.egw_LAB.wait(function() { // allow other apps to add tabs to addressbook edit $preserve = $content; + unset($preserve['jpegphoto']); $content['jpegphoto'] = !empty($content['jpegphoto']); // unused and messes up json encoding (not utf-8) $this->tmpl->setElementAttribute('tabs', 'add_tabs', true); $tabs =& $this->tmpl->getElementAttribute('tabs', 'tabs'); diff --git a/addressbook/templates/default/edit.xet b/addressbook/templates/default/edit.xet index 66aeee378e..fc6d9d94f9 100644 --- a/addressbook/templates/default/edit.xet +++ b/addressbook/templates/default/edit.xet @@ -2,24 +2,6 @@ -