Opened 13 years ago

Last modified 13 years ago

#8951 review Bug

Scriptloader may fail when loading sequences of already loaded files

Reported by: Sa'ar Zac Elias Owned by: Sa'ar Zac Elias
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

The following code will fail (the file c.js will not be loaded and the second callback will not be triggered):

CKEDITOR.scriptLoader.load( [ 'a.js', 'b.js' ], function()
{
	alert( 'a' );
	CKEDITOR.scriptLoader.load( [ 'a.js', 'b.js', 'c.js' ], function()
	{
		alert( 'b' );
	});
} );

Attachments (1)

8951.patch (478 bytes) - added by Sa'ar Zac Elias 13 years ago.

Download all attachments as: .zip

Change History (2)

Changed 13 years ago by Sa'ar Zac Elias

Attachment: 8951.patch added

comment:1 Changed 13 years ago by Sa'ar Zac Elias

Owner: set to Sa'ar Zac Elias
Status: newreview
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