[wp-trac] [WordPress Trac] #45079: Clear inactive widgets button issue in IE Edge

WordPress Trac noreply at wordpress.org
Sun Mar 3 12:00:16 UTC 2019


#45079: Clear inactive widgets button issue in IE Edge
-----------------------------------+------------------------------
 Reporter:  mukesh27               |       Owner:  (none)
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  Awaiting Review
Component:  Widgets                |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:  administration
-----------------------------------+------------------------------
Changes (by xkon):

 * keywords:  needs-patch => has-patch 2nd-opinion


Comment:

 This was reproducable on IE ( 11 in my case ) but not on Edge. The
 `wpWidgets.removeInactiveWidgets()` was running in IE even though the
 input had a `disabled` state.

 In [attachment:"45079.diff"] I've added an extra check to see if the input
 is actually disabled before running the
 `wpWidgets.removeInactiveWidgets()`.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45079#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list