Last modified: 2011-02-08 22:28:40 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T27286, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 25286 - Sometimes jquery not fully initialized when opening sequence editor
Sometimes jquery not fully initialized when opening sequence editor
Status: RESOLVED FIXED
Product: mwEmbed
Classification: Unclassified
Sequence editor (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Michael Dale
: testme
Depends on:
Blocks: 24415
  Show dependency treegraph
 
Reported: 2010-09-24 14:53 UTC by Derk-Jan Hartman
Modified: 2011-02-08 22:28 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Derk-Jan Hartman 2010-09-24 14:53:44 UTC
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
Comment 1 Michael Dale 2010-09-25 02:29:10 UTC
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
Comment 2 Michael Dale 2011-02-08 22:28:40 UTC
This should be fixed in the deployed version. ( was fixed in a bug 25491 )

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links