summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 98d9cd3)
raw | patch | inline | side by side (parent: 98d9cd3)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 28 Mar 2008 06:37:11 +0000 (06:37 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 28 Mar 2008 06:37:11 +0000 (06:37 +0000) |
-Added Retry button in case of an error with the si server communication
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10050 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10050 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc | patch | blob | history | |
gosa-plugins/goto/admin/systems/goto/workstationStartup.tpl | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc b/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc
index f8b151bebe47e93e90c7586ec96577f84a05a99b..1f7fbf73d7703ce1944f70a26975de208e3c95b8 100644 (file)
function update_fai_cache($first_call = FALSE)
{
$force = FALSE;
- $this->si_fai_action_failed = FALSE;
if(!$this->si_active) return;
$start = microtime(TRUE);
+ if($this->si_fai_action_failed && !isset($_POST['fai_si_retry'])) return;
+
+ $this->si_fai_action_failed = FALSE;
+
/* Get the list of available servers and their releases.
*/
if($force || !isset($this->cache['SERVERS'])){
diff --git a/gosa-plugins/goto/admin/systems/goto/workstationStartup.tpl b/gosa-plugins/goto/admin/systems/goto/workstationStartup.tpl
index 73d0a2f639ce682cd607fd889179a4317380ad4d..6bb8bbc29258fb6d63c94cab81e588cbf06a54bd 100644 (file)
{elseif $si_fai_action_failed}
<b>{msgPool type=siError}</b><br>
{t}Check if the GOsa support daemon (gosa-si) is running.{/t}
+ <input type='submit' name='fai_si_retry' value="{t}retry{/t}">
{elseif $fai_activated}
{if $FAIdebianMirror == "inherited"}