projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e868908
)
Pass a Date object to Horde_Calendar.open().
author
Jan Schneider
<jan@horde.org>
Wed, 9 Dec 2009 16:13:34 +0000
(17:13 +0100)
committer
Jan Schneider
<jan@horde.org>
Wed, 9 Dec 2009 16:13:45 +0000
(17:13 +0100)
imp/js/search.js
patch
|
blob
|
history
diff --git
a/imp/js/search.js
b/imp/js/search.js
index
e4534ec
..
7ca1ac3
100644
(file)
--- a/
imp/js/search.js
+++ b/
imp/js/search.js
@@
-417,7
+417,7
@@
var ImpSearch = {
return;
} else if (elt.hasClassName('searchuiCalendar')) {
tmp = this.criteria[elt.up('TR').identify()];
- Horde_Calendar.open(elt.identify(),
{ y: tmp.v.y, m: tmp.v.m + 1, d: tmp.v.d }
, this.replaceDate.bind(this, elt.up('TR').identify(), tmp.t));
+ Horde_Calendar.open(elt.identify(),
new Date(tmp.v.y, tmp.v.m, tmp.v.d)
, this.replaceDate.bind(this, elt.up('TR').identify(), tmp.t));
e.stop();
return;
}