Opened 14 years ago
Closed 14 years ago
#2451 closed defect (duplicate)
RichText Editor fails to initialize in IE 7
Reported by: | guest | Owned by: | bill |
---|---|---|---|
Priority: | high | Milestone: | 0.9 |
Component: | Editor | Version: | 0.4.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Hello! I have found a bug in RichText? Editor. Actually I tried to include Editor2 into my page that was pragmatically loaded into SplitPanel?. I included editor as textarea:
<textarea dojoType="editor2" name="someName"> <c:out value="${someValue}"/> </textarea>
This code worked fine in Firefox 2.0.0.1 but failed in IE7 with error: DEBUG: dojo.widget.Parse: error: [TypeError: Object doesn't support this property or method]
I found out that problem was in RichText?.js file. I guess loop statement on line 355 is wrong. Instead of
for(var i in formats){
it should be something like
for(var i=0; i<formats.length; i++){
With this fix my code works fine in IE as well. Could you please commit suggested modification into main code if it is correct?
Thanks, Andrey.
Change History (4)
comment:1 Changed 14 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
comment:2 Changed 14 years ago by
Milestone: | → 0.9 |
---|
comment:3 Changed 14 years ago by
Resolution: | duplicate |
---|---|
Status: | closed → reopened |
comment:4 Changed 14 years ago by
Component: | Widgets → Editor |
---|---|
Resolution: | → duplicate |
Status: | reopened → closed |
dup of #2450