Ticket #1181 (closed defect: fixed)
[TableOperations] Table Options dialog first entry for border style faulty
| Reported by: | guest | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.95 |
| Component: | Browsers_InternetExplorer | Version: | trunk |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Hello
we found a bug in the TableOperations Plugin. With IE7 the Cell Properties are wrong. The first option was always 'true' not 'none'
--- table-operations.js 2008-04-01 10:33:19.000000000 +0200 +++ table-operations.js.orig 2008-04-01 10:30:58.000000000 +0200 @@ -1131,7 +1131,7 @@
// That is, "top right bottom left" -- we only consider the first // value. (currentBorderStyle.match(/([\s]*)\s/)) && (currentBorderStyle = RegExp?.$1);
- for (var i=0;i < options.length; i++) { + for (var i in options) {
if(typeof options[i] == 'function') continue;
var val = options[i]; option = doc.createElement("option");
BR Manfred
