Index: trunk/extensions/ArticleFeedbackv5/modules/jquery.articleFeedbackv5/jquery.articleFeedbackv5.special.js |
— | — | @@ -63,7 +63,7 @@ |
64 | 64 | }, |
65 | 65 | 'success': function ( data ) { |
66 | 66 | // TODO check output and error if needed |
67 | | - $( '#aft5-' + type + '-link-' + id ).html( |
| 67 | + $( '#aft5-' + type + '-link-' + id ).text( |
68 | 68 | mw.msg( 'articlefeedbackv5-' + type + '-saved' ) |
69 | 69 | ); |
70 | 70 | } |
— | — | @@ -99,7 +99,7 @@ |
100 | 100 | } |
101 | 101 | |
102 | 102 | } else { |
103 | | - $( '#aft5-show-feedback' ).html( mw.msg( 'articlefeedbackv5-error-loading-feedback' ) ); |
| 103 | + $( '#aft5-show-feedback' ).text( mw.msg( 'articlefeedbackv5-error-loading-feedback' ) ); |
104 | 104 | } |
105 | 105 | } |
106 | 106 | // TODO: have a callback for failures. |
— | — | @@ -110,6 +110,8 @@ |
111 | 111 | } )( jQuery ); |
112 | 112 | |
113 | 113 | $( document ).ready( function() { |
| 114 | + // Blank out the 'loading' text |
| 115 | + $( '#aft5-show-feedback' ).text( ' ' ); |
114 | 116 | $.articleFeedbackv5special.setBinds(); |
115 | 117 | $.articleFeedbackv5special.loadFeedback(); |
116 | 118 | } ); |