return;
}
- this.setInnerHTML(warningElt, '..'); // TODO: pretty animated GIF
this.timeoutID = window.setTimeout( 'wgUploadWarningObj.timeout()', this.delay );
},
},
'timeout' : function() {
- var warningElt = document.getElementById( 'wpDestFile-warning' );
- this.setInnerHTML(warningElt, '....'); // TODO: pretty animated GIF
+ injectSpinner( document.getElementById( 'wpDestFile' ), 'destcheck' );
// Get variables into local scope so that they will be preserved for the
// anonymous callback. fileName is copied so that multiple overlapping
},
'processResult' : function (result, fileName) {
+ removeSpinner( 'destcheck' );
this.setWarning(result.responseText);
this.responseCache[fileName] = result.responseText;
},