From 87973f6ef5acf7a5b2be19ce5f03ff0792d350db Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 1 Dec 2005 11:39:45 +0000 Subject: [PATCH] Added lock message for edited FAI dialogs git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2176 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/fai/class_faiManagement.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/admin/fai/class_faiManagement.inc b/plugins/admin/fai/class_faiManagement.inc index a1b86f8ef..5ec39d073 100644 --- a/plugins/admin/fai/class_faiManagement.inc +++ b/plugins/admin/fai/class_faiManagement.inc @@ -263,6 +263,7 @@ class faiManagement extends plugin $a_setup = ($this->get_type($entry)); $this->dn = $entry['dn']; + add_lock ($this->dn, $this->ui->dn); $this->dialog= new $a_setup[0]($this->config, $this->config->data['TABS'][$a_setup[2]],$this->dn); @@ -353,6 +354,7 @@ class faiManagement extends plugin $this->dialog=NULL; $this->is_dialog = false; unset($_SESSION['objectinfo']); + del_lock ($this->dn); } /* This check if the given tab could be saved @@ -366,6 +368,7 @@ class faiManagement extends plugin print_red($msg); } }else{ + del_lock ($this->dn); $this->dialog->save(); unset($this->dialog); $this->dialog=NULL; -- 2.30.2