Call alarmInit() (Bug #9519).
authorJan Schneider <jan@horde.org>
Sat, 22 Jan 2011 17:31:39 +0000 (18:31 +0100)
committerJan Schneider <jan@horde.org>
Sat, 22 Jan 2011 17:31:39 +0000 (18:31 +0100)
nag/lib/Application.php

index 28359d5..c8e57c7 100644 (file)
@@ -162,6 +162,14 @@ class Nag_Application extends Horde_Registry_Application
             }
             break;
 
+        case 'notification':
+            if (!empty($conf['alarms']['driver']) &&
+                !$prefs->isLocked('task_alarms') &&
+                !$prefs->isLocked('task_alarms_select')) {
+                Horde_Core_Prefs_Ui_Widgets::alarmInit();
+            }
+            break;
+
         case 'tasks':
             if (!$prefs->isLocked('default_due_time')) {
                 $twentyfour = $prefs->getValue('twentyFour');