Fix style of text fields in IE6 in the uploader, better regex for Link URL presets buttons

git-svn-id: https://develop.svn.wordpress.org/trunk@12189 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2009-11-16 07:16:34 +00:00
parent ac9c33e0e9
commit 3e1d80eb42
4 changed files with 12 additions and 7 deletions
+3 -3
View File
@@ -328,9 +328,9 @@ jQuery(document).ready(function($){
$('button.button', '#media-items').live('click', function(){
var c = this.className || '';
c = c.replace(/.*?url([^ '"]+).*/, '$1');
if ( c ) {
setUserSetting('urlbutton', c);
c = c.match(/url([^ '"]+)/);
if ( c && c[1] ) {
setUserSetting('urlbutton', c[1]);
$(this).siblings('.urlfield').val( $(this).attr('title') );
}
});
File diff suppressed because one or more lines are too long