From 96b0dfc05efc3e4b831b929224076e8be456351d Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 13 Sep 2010 13:27:26 +0000 Subject: [PATCH] Updated class tabs -Added a hidden variable which keeps track of plugin modifications. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19625 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_tabs.inc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gosa-core/include/class_tabs.inc b/gosa-core/include/class_tabs.inc index 6d1b5e871..339e20f1f 100644 --- a/gosa-core/include/class_tabs.inc +++ b/gosa-core/include/class_tabs.inc @@ -157,6 +157,13 @@ class tabs "\n {$display}". "\n "; } + + // Detect if we've modifications right now. + foreach ($this->by_name as $class => $name){ + $this->isPluginModified |= $this->by_object[$class]->is_modified; + } + $display="".$display; + return ($display); } -- 2.30.2