projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd69cf2
)
This works better cross-browser
author
Michael M Slusarz
<slusarz@curecanti.org>
Wed, 28 Oct 2009 23:14:34 +0000
(17:14 -0600)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Thu, 29 Oct 2009 02:26:16 +0000
(20:26 -0600)
imp/js/login.js
patch
|
blob
|
history
diff --git
a/imp/js/login.js
b/imp/js/login.js
index
10f6daa
..
a5352af
100644
(file)
--- a/
imp/js/login.js
+++ b/
imp/js/login.js
@@
-23,9
+23,10
@@
var ImpLogin = {
onDomLoad: function()
{
/* Activate dynamic view. */
- var o = $('imp_select_view').down('option[value=dimp]').show();
+ var s = $('imp_select_view'),
+ o = s.down('option[value=dimp]').show();
if (this.dimp_sel) {
-
o.writeAttribute('selected', 'selected')
;
+
s.selectedIndex = o.index
;
}
}
};