projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
558d50b
)
Remove non localed variable
author
Michael M Slusarz
<slusarz@curecanti.org>
Mon, 21 Dec 2009 18:02:36 +0000
(11:02 -0700)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Mon, 21 Dec 2009 18:02:36 +0000
(11:02 -0700)
imp/js/login.js
patch
|
blob
|
history
diff --git
a/imp/js/login.js
b/imp/js/login.js
index
03198e9
..
15afcdb
100644
(file)
--- a/
imp/js/login.js
+++ b/
imp/js/login.js
@@
-24,12
+24,8
@@
var ImpLogin = {
{
/* Activate dynamic view. */
var s = $('imp_select_view');
- if (!s) {
- return;
- }
- o = s.down('option[value=dimp]').show();
- if (this.dimp_sel) {
- s.selectedIndex = o.index;
+ if (s && this.dimp_sel) {
+ s.selectedIndex = s.down('option[value=dimp]').show().index;
}
}
};