mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-14 05:40:30 +00:00
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:
@@ -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
Reference in New Issue
Block a user