projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa13f34
)
Bug #9010: Avoid undefined warnings
author
Michael M Slusarz
<slusarz@curecanti.org>
Mon, 10 May 2010 20:43:49 +0000
(14:43 -0600)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Mon, 10 May 2010 20:43:49 +0000
(14:43 -0600)
imp/js/compose-dimp.js
patch
|
blob
|
history
diff --git
a/imp/js/compose-dimp.js
b/imp/js/compose-dimp.js
index
de1d01e
..
3667626
100644
(file)
--- a/
imp/js/compose-dimp.js
+++ b/
imp/js/compose-dimp.js
@@
-113,11
+113,9
@@
var DimpCompose = {
setPopdownLabel: function(id, s, l)
{
- var k = this.knl[id],
- label = $(k.opts.label),
- input = $(k.opts.input);
+ var k = this.knl[id];
- if (!
label
) {
+ if (!
k
) {
return;
}
@@
-130,8
+128,8
@@
var DimpCompose = {
: l.l;
}
- $(input).setValue(s);
- $(label).writeAttribute('title', l.escapeHTML()).setText(l.truncate(15)).up(1).show();
+ $(
k.opts.
input).setValue(s);
+ $(
k.opts.
label).writeAttribute('title', l.escapeHTML()).setText(l.truncate(15)).up(1).show();
if (id == 'sm') {
k.knl.setSelected(s);