https://bugzilla.wikimedia.org/show_bug.cgi?id=46401

MWJames <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
                   |                            |m

--- Comment #20 from MWJames <[email protected]> ---
I don't know if this directly related but after the above change was apllied to
our MW 1.22 environment, QUnit's test locally show some unexpected behaviour.
Resource definitions that include jquery modules seems to be loaded
asynchronously resulting in sliders or datepickers to be "jumping" the page.

It appears that by the time the JS object(slider, datepicker) is instantiated
and ready for display the corresponding jquery CSS is still not ready/loaded.

I tried explicitly to wait until the resource is loaded but that will not
change the behaviour of the jquery components (declared as dependency).

mw.loader.using( 'ext.srf.eventcalendar', function(){
    calendar.init( context, container, data );
...
} )

'ext.srf.eventcalendar' => ...
'dependencies' => array (
    'jquery.ui.core',
    'jquery.ui.widget',
    'jquery.ui.datepicker',
    'jquery.ui.slider',
...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to