projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ad9eee
)
Shout: make sure we only observe the action form once
author
Ben Klang
<ben@alkaloid.net>
Fri, 26 Mar 2010 21:11:47 +0000
(17:11 -0400)
committer
Ben Klang
<ben@alkaloid.net>
Fri, 26 Mar 2010 21:11:47 +0000
(17:11 -0400)
shout/templates/dialplan/edit.inc
patch
|
blob
|
history
diff --git
a/shout/templates/dialplan/edit.inc
b/shout/templates/dialplan/edit.inc
index
787f95a
..
2682277
100644
(file)
--- a/
shout/templates/dialplan/edit.inc
+++ b/
shout/templates/dialplan/edit.inc
@@
-231,8
+231,6
@@
function editAction(digit)
cancel.value = '<?php echo _("Cancel"); ?>';
div.appendChild(cancel);
- Event.observe($('editActionForm'), 'submit', function(event) {saveAction(event);});
-
$('editAction').appendChild(div);
}
$('dialpadWorking').hide();
@@
-417,6
+415,7
@@
function saveMenu()
$('editActionOverlay').hide();
$('editMenu').hide();
+Event.observe($('editActionForm'), 'submit', function(event) {saveAction(event);});
new Ajax.Request(ajax_url + 'getMenus',
{
method: 'get',