[wp-trac] [WordPress Trac] #17421: Static page selection is disabled in Reading Settings ( jQuery v1.6.1 issue )

WordPress Trac wp-trac at lists.automattic.com
Sat May 14 05:07:10 UTC 2011


#17421: Static page selection is disabled in Reading Settings ( jQuery v1.6.1 issue
)
--------------------------+---------------------
 Reporter:  rossdev       |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  3.2
Component:  UI            |     Version:  3.2
 Severity:  major         |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+---------------------

Comment (by JDTrower):

 All it took for me to get things working as intended was changing .attr to
 .prop, in other words from this
 {{{
 selects.attr('disabled', staticPage.is(':checked') ? '' : 'disabled');
 }}}
 to this
 {{{
 selects.prop('disabled', staticPage.is(':checked') ? '' : 'disabled');
 }}}

 I assume the additional code change duck_ did is just as valid, but it
 wasn't necessary to make the drop down boxes work.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17421#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list