Posted by tjholowaychuk on January 22, 2008 at 5:13pm
Jump to:
| Project: | Whizzywig - A complete WYSIWYG Editor |
| Version: | 5.x-1.2 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Regular install, only a few contrib modules, and it does not work on blocks page, the javascript error
"uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMNSHTMLDocument.execCommand]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://localhost/clients/ostrf/sites/all/modules/whizzywig/whizzywig/whi... :: makeSo :: line 155" data: no]"
is thrown. It works fine when editing node bodies etc
Comments
#1
Hi,
Unfortunately i cannot reproduce this issue. I have tested with a fresh install, and the editor showed on the 'Add block' page (admin/build/block/add).
Was the JS error thrown once, or multiple times?
Kind regards,
Sven
#2
Sorry I forgot to mention that it appears as normal, but when you click a button then it throws the same error every time
heres the JS included on node/add/page
$(document).ready(function(){ $('*').pngFix(); });
and on admin/build/block/configure/block/delta
$(document).ready(function(){ $('*').pngFix(); });
I will try and experiment some more and let you know if i can find out whats wrong
#3
I disabled devel, pngfix, and my custom module that had some JS. The error is still being thrown, and as for JS only the regular Drupal files are being included. I cant think of anything glaringly different about the two pages that would cause this
#4
I will take a look at this bug. And fixing will be available after 6.x-1.0-ALPHA2 version.
Since most websites using Drupal 6 then bug fix only available for D6. Still tune!
#5
Won't fix 5.x version. Same issue for 6.x here: http://drupal.org/node/680368, closed.