projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db37b00
)
Fix resizing compose window in dimp.
author
Michael M Slusarz
<slusarz@curecanti.org>
Tue, 3 Aug 2010 01:56:13 +0000
(19:56 -0600)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Tue, 3 Aug 2010 01:56:13 +0000
(19:56 -0600)
Some non-FF browsers (opera, Safari on win, IE) don't consider negative
values to be a false-y value.
imp/js/compose-dimp.js
patch
|
blob
|
history
diff --git
a/imp/js/compose-dimp.js
b/imp/js/compose-dimp.js
index
d9296a1
..
7b5f9b0
100644
(file)
--- a/
imp/js/compose-dimp.js
+++ b/
imp/js/compose-dimp.js
@@
-715,7
+715,7
@@
var DimpCompose = {
++rows;
do {
msg.writeAttribute({ rows: rows--, disabled: false });
- } while (
de.scrollHeight - de.clientHeight
);
+ } while (
(de.scrollHeight - de.clientHeight) > 0
);
}
}
},