Block page, does not work on block body

tjholowaychuk - January 22, 2008 - 17:13
Project:Whizzywig
Version:5.x-1.2
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:needs work
Description

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

#1

sdecabooter - January 23, 2008 - 13:52

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

tjholowaychuk - January 23, 2008 - 15:15

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

tjholowaychuk - January 23, 2008 - 15:21

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

drupal-id.com - October 24, 2009 - 01:49
Status:active» needs work

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!

 
 

Drupal is a registered trademark of Dries Buytaert.