Page MenuHomePhabricator

Sometimes jquery not fully initialized when opening sequence editor
Closed, ResolvedPublic

Description

When I choose "edit sequence", sometimes jquery does not seem to have fully loaded, especially jquery UI.

I get
Uncaught TypeError: Object #<an Object> has no method '_mouseInit'
_initjui.combined.min.js:38
$.Widget._createWidgetResourceLoader.php:791
$.namespace.nameResourceLoader.php:788
(anonymous function)ResourceLoader.php:790
eachResourceLoader.php:32
jQuery.fn.jQuery.eachResourceLoader.php:13
$.fn.nameResourceLoader.php:789
(anonymous function)ResourceLoader.php:608
eachResourceLoader.php:32
initResizableResourceLoader.php:604
createResourceLoader.php:566
fn.layoutResourceLoader.php:711
mw.Sequencer.applyLayoutBindingsResourceLoader.php:31
mw.Sequencer.drawUIResourceLoader.php:15
$.fn.sequencerResourceLoader.php:6
(anonymous function)ResourceLoader.php:1303
callbackResourceLoader.php:488
callbackResourceLoader.php:488
(anonymous function)ResourceLoader.php:504
callbackResourceLoader.php:488
(anonymous function)ResourceLoader.php:497
myCallbackResourceLoader.php:552
successResourceLoader.php:402
script.onload.script.onreadystatechangeResourceLoader.php:381


Version: unspecified
Severity: normal

Details

Reference
bz25286

Event Timeline

bzimport raised the priority of this task from to Normal.Nov 21 2014, 11:15 PM
bzimport set Reference to bz25286.
TheDJ created this task.Sep 24 2010, 2:53 PM

mdale wrote:

can you read out the version number reported to the console:
mwEmbed:remote: {VersionNumber}

I believe that error was caused by conflicting versions of jQuery ui components. I have set mwEmbed to force load all the jQuery ui components so errors like that should be less likely. Shift refresh and let me know if you can still recreate this error.

thanks,
michael

mdale wrote:

This should be fixed in the deployed version. ( was fixed in a bug 25491 )