Opened 14 years ago

Closed 14 years ago

#6578 closed Bug (invalid)

failed to load null resource when contentsCss set to null in webkit

Reported by: David Wipperfurth Owned by:
Priority: Normal Milestone:
Component: General Version: 3.4
Keywords: Cc:

Description

Low Priority

In webkit browsers if contentsCss is set to null, an error is thrown about failing to load a resource with a URL of http://mydomain.com/mypath/null

I'm guessing this occurs for all browsers but webkit is the only one that complains about it.

To be clear I'm not setting contentsCss to 'null', I'm setting it to null. e.g.

jQuery('textarea').ckeditor(function(){something=this}, {

resize_enabled: false, skin: 'jqui1', contentsCss: null

});

Change History (1)

comment:1 Changed 14 years ago by Garry Yao

Resolution: invalid
Status: newclosed

config.contentsCss is supposed to be a none-empty value, it's depends on your application to provide be defensive over null value.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy