Opened 12 years ago
Closed 12 years ago
#10230 closed Bug (expired)
Uncaught TypeError: Cannot read property '$' of null - on resize
Reported by: | alan blount | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | Cc: |
Description
When swapping out editors via ajax load of DOM html/js, after replacement and ckeditor instatiation, resizing the viewport triggers several repetitions of the error:
"Uncaught TypeError: Cannot read property '$' of null"
http://screencast.com/t/oWVvHMh0Spm
It happens that the input names and thus the instanceName are the same string across AJAX loads (PageBody)
I tried destroying the instance before triggering the AJAX request/replacement but that didn't seem to fix it, got a different error:
Uncaught TypeError: Cannot call method 'clearCustomData' of null triggered with CKEDITOR.tools.extend.destroy
Anyway - this error can be recreated by swapping out the editor with AJAX load and then resizing the viewport (resizing the developer tools is sufficient).
User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.33 Safari/537.31
CKeditor: timestamp:"D26D",version:"4.0.2",revision:"5339059",
Change History (2)
comment:1 Changed 12 years ago by
Status: | new → pending |
---|
comment:2 Changed 12 years ago by
Resolution: | → expired |
---|---|
Status: | pending → closed |
Could you provide reduced sample HTML page showing this problem - something that can be put in samples folder and will allow recreating this issue.
NOTES: