From: hickert Date: Wed, 3 Mar 2010 09:09:20 +0000 (+0000) Subject: Updated myAccount grayout handling X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ea97cb5721c8e586143efc752ee7131e2a25f91a;p=gosa.git Updated myAccount grayout handling git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15880 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/personal/myaccount/main.inc b/gosa-core/plugins/personal/myaccount/main.inc index 07924d240..6983ebb81 100644 --- a/gosa-core/plugins/personal/myaccount/main.inc +++ b/gosa-core/plugins/personal/myaccount/main.inc @@ -26,6 +26,7 @@ $lock_msg=""; if ($remove_lock || isset($_POST['edit_cancel'])){ if(session::is_set('MyAccountTabs') && session::is_set('edit')){ + session::un_set('MyAccountTabs'); del_lock($ui->dn); } } @@ -76,6 +77,7 @@ if (! $cleanup ){ /* No errors, save object */ if (count ($message) == 0){ $MyAccountTabs->save (); + $MyAccountTabs->setReadOnly(TRUE); del_lock ($ui->dn); session::un_set ('edit');