New HiDPI spinner. Uses clean <span class="spinner"></span> markup.

Be on the lookout for weirdness.
props lessbloat. see #21456.



git-svn-id: https://develop.svn.wordpress.org/trunk@22019 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2012-09-26 19:57:44 +00:00
parent 119bd9f50a
commit e82d5080b8
35 changed files with 192 additions and 127 deletions
+3 -3
View File
@@ -368,7 +368,7 @@ commentReply = {
$('#replycontent').css('height', '').val('');
$('#edithead input').val('');
$('.error', replyrow).html('').hide();
$('.waiting', replyrow).hide();
$('.spinner', replyrow).hide();
this.cid = '';
},
@@ -451,7 +451,7 @@ commentReply = {
var post = {};
$('#replysubmit .error').hide();
$('#replysubmit .waiting').show();
$('#replysubmit .spinner').show();
$('#replyrow input').not(':button').each(function() {
var t = $(this);
@@ -533,7 +533,7 @@ commentReply = {
error : function(r) {
var er = r.statusText;
$('#replysubmit .waiting').hide();
$('#replysubmit .spinner').hide();
if ( r.responseText )
er = r.responseText.replace( /<.[^<>]*?>/g, '' );