projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac1302d
)
Return error on unknown action.
author
Jan Schneider
<jan@horde.org>
Thu, 12 Nov 2009 22:36:55 +0000
(23:36 +0100)
committer
Jan Schneider
<jan@horde.org>
Thu, 12 Nov 2009 23:16:10 +0000
(
00:16
+0100)
kronolith/ajax.php
patch
|
blob
|
history
diff --git
a/kronolith/ajax.php
b/kronolith/ajax.php
index
646a010
..
13d6f38
100644
(file)
--- a/
kronolith/ajax.php
+++ b/
kronolith/ajax.php
@@
-387,6
+387,10
@@
try {
$result->taskId = $taskId;
$result->toggled = true;
break;
+
+ default:
+ $notification->push('Unknown action ' . $action, 'horde.error');
+ break;
}
} catch (Exception $e) {
$notification->push($e->getMessage(), 'horde.error');