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

Krinkle <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|unspecified                 |1.21-git
   Target Milestone|---                         |Future release
            Summary|Upgrade jQuery UI           |Upgrade jQuery from 1.8.x
                   |                            |to 1.9.x

--- Comment #1 from Krinkle <[email protected]> ---
Change-Id: Ia087bdbc7c120dd07134afcd9fc99a0accab7ab5

When I tried this locally I got several uncaught exceptions.

One of them highlighted here (consider this a blocker for upgrading to jquery
1.9):

Uncaught TypeError: Cannot read property 'style' of undefined
 load.php:6946| curCSS
 load.php:6895| jQuery.extend.css
 load.php:7152| actualDisplay
 load.php:7123| css_defaultDisplay
 load.php:6704| showHide
 load.php:6757| jQuery.fn.extend.show
 load.php:9116| jQuery.each.jQuery.fn.(anonymous function)
 jquery.ui.dialog.js:117| $.widget._create
 jquery.ui.widget.js:168| $.Widget._createWidget
 jquery.ui.widget.js:65 | $.(anonymous function).(anonymous function)
 jquery.ui.widget.js:131| (anonymous function)
 load.php:650| jQuery.extend.each
 load.php:270| jQuery.fn.jQuery.each
 jquery.ui.widget.js:126  | $.fn.(anonymous function)
 mediawiki.feedback.js:138| mw.Feedback.setup
 mediawiki.feedback.js:66 | mw.Feedback

Stack:
- http://cl.ly/image/2S263t3x1P2D
- http://cl.ly/image/0N1q3w1x1J2k
- http://cl.ly/image/3p362o1g173i
- http://cl.ly/image/1J0Z0t2g061S

Looks like actualDisplay incorrectly assumes that .body is already initialised,
as a result of the silently failed .appendTo() action the jquery collection is
emptied and elem[0] is undefined and elem[0].style is illegal.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee 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