Ticket #8951 (review Bug)

Opened 2 years ago

Last modified 2 years ago

Scriptloader may fail when loading sequences of already loaded files

Reported by: Saare Owned by: Saare
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

8951.patch (478 bytes) - added by Saare 2 years ago.

Change History

Changed 2 years ago by Saare

comment:1 Changed 2 years ago by Saare

  • Status changed from new to review
  • Owner set to Saare
Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy