Index: trunk/extensions/ArticleFeedbackv5/modules/jquery.articleFeedbackv5/jquery.articleFeedbackv5.special.js |
— | — | @@ -71,7 +71,7 @@ |
72 | 72 | } |
73 | 73 | $( '#aft5-' + type + '-link-' + id ).text( mw.msg( msg ) ); |
74 | 74 | }, |
75 | | - 'failure': function ( data ) { |
| 75 | + 'error': function ( data ) { |
76 | 76 | $( '#aft5-' + type + '-link-' + id ).text( mw.msg( 'articlefeedbackv5-error-flagging' ) ); |
77 | 77 | } |
78 | 78 | } ); |
— | — | @@ -115,7 +115,7 @@ |
116 | 116 | $( '#aft5-show-feedback' ).text( mw.msg( 'articlefeedbackv5-error-loading-feedback' ) ); |
117 | 117 | } |
118 | 118 | }, |
119 | | - 'failure': function ( data ) { |
| 119 | + 'error': function ( data ) { |
120 | 120 | $( '#aft5-show-feedback' ).text( mw.msg( 'articlefeedbackv5-error-loading-feedback' ) ); |
121 | 121 | } |
122 | 122 | } ); |