Opened 9 years ago

Closed 9 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 9 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 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy