projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb1757a
)
Show DIMP option also if it is not the default option.
author
Jan Schneider
<jan@horde.org>
Fri, 8 Jan 2010 22:04:22 +0000
(23:04 +0100)
committer
Jan Schneider
<jan@horde.org>
Fri, 8 Jan 2010 22:04:22 +0000
(23:04 +0100)
imp/js/login.js
patch
|
blob
|
history
diff --git
a/imp/js/login.js
b/imp/js/login.js
index
15afcdb
..
41325d5
100644
(file)
--- a/
imp/js/login.js
+++ b/
imp/js/login.js
@@
-24,8
+24,11
@@
var ImpLogin = {
{
/* Activate dynamic view. */
var s = $('imp_select_view');
- if (s && this.dimp_sel) {
- s.selectedIndex = s.down('option[value=dimp]').show().index;
+ if (s) {
+ s.down('option[value=dimp]').show();
+ if (this.dimp_sel) {
+ s.selectedIndex = s.down('option[value=dimp]').index;
+ }
}
}
};