projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29fa61d
)
Bug #9233: Menu goto js was triggering for any calendar click
author
Michael M Slusarz
<slusarz@curecanti.org>
Tue, 7 Sep 2010 19:41:13 +0000
(13:41 -0600)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Tue, 7 Sep 2010 19:41:13 +0000
(13:41 -0600)
kronolith/js/goto.js
patch
|
blob
|
history
diff --git
a/kronolith/js/goto.js
b/kronolith/js/goto.js
index
48b54cb
..
72c9bb5
100644
(file)
--- a/
kronolith/js/goto.js
+++ b/
kronolith/js/goto.js
@@
-17,6
+17,11
@@
var KronolithGoto =
calendarSelect: function(e, type)
{
+ // Only trigger if this is the goto menu.
+ if (!e.findElement('A.kgotomenu')) {
+ return;
+ }
+
var q, url,
params = $H({ date: e.memo.getFullYear() + (e.memo.getMonth() + 1).toPaddedString(2) + (e.memo.getDate()).toPaddedString(2) });