summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 292bf5b)
raw | patch | inline | side by side (parent: 292bf5b)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 14 Sep 2010 09:54:11 +0000 (09:54 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 14 Sep 2010 09:54:11 +0000 (09:54 +0000) |
-Once a plugins is modified, we cannot leave the ui-masks without acknowledgement
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19660 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19660 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_tabs.inc | patch | blob | history |
index a8111988c918526f30b0386b6e073fc64dc67556..99fd296944d6db63e12d401e65c89afcbc4d7a51 100644 (file)
}
// Detect if we've modifications right now.
+ // - A plugin state has to be changed, this is not a goo solution, but
+ // currently it does what we want.
+ // (It would be better to ask the plugins if something has changed)
+ $this->isPluginModified |= isset($_POST['modify_state']);
+
+ // - Capture the plugins modification status.
foreach ($this->by_name as $class => $name){
$this->isPluginModified |= (isset($this->by_object[$class]->is_modified)) && $this->by_object[$class]->is_modified;
}