Ticket #22975: 22975.browser.patch
File 22975.browser.patch, 1.9 KB (added by , 10 years ago) |
---|
-
wp-includes/js/admin-bar.js
124 124 125 125 var id = $(this).attr('href'); 126 126 127 if ( $.browser.webkit && id && id.charAt(0) == '#' ) { 127 var ua = navigator.userAgent.toLowerCase(); 128 if ( ua.indexOf('applewebkit') != -1 && id && id.charAt(0) == '#' ) { 128 129 setTimeout(function () { 129 130 $(id).focus(); 130 131 }, 100); -
wp-includes/js/autosave.js
87 87 * Workaround for WebKit bug preventing a form submitting twice to the same action. 88 88 * https://bugs.webkit.org/show_bug.cgi?id=28633 89 89 */ 90 if ( $.browser.safari ) { 90 var ua = navigator.userAgent.toLowerCase(); 91 if ( ua.indexOf('safari') != -1 && ua.indexOf('chrome') == -1 ) { 91 92 $('form#post').attr('action', function(index, value) { 92 93 return value + '?t=' + new Date().getTime(); 93 94 }); -
wp-includes/js/thickbox/thickbox.js
230 230 jQuery("#TB_window").css({'visibility':'visible'}); 231 231 }else if(url.indexOf('TB_iframe') != -1){ 232 232 tb_position(); 233 if(jQuery.browser.safari){//safari needs help because it will not fire iframe onload 234 jQuery("#TB_load").remove(); 235 jQuery("#TB_window").css({'visibility':'visible'}); 236 } 233 jQuery("#TB_load").remove(); 234 jQuery("#TB_window").css({'visibility':'visible'}); 237 235 }else{ 238 236 jQuery("#TB_ajaxContent").load(url += "&random=" + (new Date().getTime()),function(){//to do a post change this load method 239 237 tb_position();