projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
582fe22
)
Pass effect duration through to RedBox, and use it in RedBox' appearWindow() too.
author
Jan
<jan@horde.org>
Wed, 26 May 2010 15:46:10 +0000
(16:46 +0100)
committer
Jan Schneider
<jan@horde.org>
Wed, 26 May 2010 15:58:33 +0000
(17:58 +0200)
horde/js/redbox.js
patch
|
blob
|
history
kronolith/js/kronolith.js
patch
|
blob
|
history
diff --git
a/horde/js/redbox.js
b/horde/js/redbox.js
index
c7c0d6b
..
9d120f0
100644
(file)
--- a/
horde/js/redbox.js
+++ b/
horde/js/redbox.js
@@
-26,7
+26,7
@@
var RedBox = {
appearWindow: function()
{
var loading = $('RB_loading'),
- opts = { queue: 'end' },
+ opts = { queue: 'end'
, duration: this.duration
},
effects = [], effect;
if (loading && loading.visible()) {
diff --git
a/kronolith/js/kronolith.js
b/kronolith/js/kronolith.js
index
167888a
..
8a144dc
100644
(file)
--- a/
kronolith/js/kronolith.js
+++ b/
kronolith/js/kronolith.js
@@
-5415,6
+5415,7
@@
KronolithCore = {
RedBox.onDisplay = function() {
this.redBoxLoading = false;
}.bind(this);
+ RedBox.duration = this.effectDur;
$('kronolithSearchTerm').observe('focus', function() {
if ($F(this) == this.readAttribute('default')) {