<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div>On 24 Mei 2011, at 17:17, Marc Delisle <<a ymailto="mailto:marc@infomarc.info" href="mailto:marc@infomarc.info">marc@infomarc.info</a>> wrote:<br></div><div><br>> Le 2011-05-24 03:19, Aris Feryanto a écrit :<br>>> Hi all,<br>>> <br>>> I've just merged my branch with the current phpMyAdmin official master branch and want to add a new field in the settings page.<br>>> But, when I open settings page, then open some settings tab, I noted that the green arrow button to restore default value is always shown on every fields.<br>>> I also have confirmed this on the phpMyAdmin demo page.<br>>> Is some recent changes cause this?<br>> <br>> Hi Aris,<br>> thanks for noticing this.<br>> <br>> Using the technique explained in [0], it seems that this happened when<br>> upgrading from
 jQuery 1.4.4 to 1.6.1.</div><div><br></div><div>I found a link [0] and in the section "Upgrading From 1.5.2 to 1.6.1", there are some notes about the new split of .attr() into two functions: .attr() and .prop(). And I looked into config.js, there are a lot of usage of .attr('tagName'), which is in jQuery 1.6.1 must be accessed through .prop('tagName'). I think we can do a quick replace of .attr('X'), for some X which is now considered as property in jQuery 1.6.1.</div><div><br></div><div>[0] <a href="http://blog.jquery.it/2011/05/12/jquery-1-6-1-released/">http://blog.jquery.it/2011/05/12/jquery-1-6-1-released/</a></div><div><br></div><div>--</div><div>Aris Feryanto</div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div><br></div></div></body></html>