Index: trunk/extensions/ArticleAssessmentPilot/js/ArticleAssessment.js |
— | — | @@ -260,10 +260,6 @@ |
261 | 261 | }, |
262 | 262 | 'afterGetRatingData' : function( data ) { |
263 | 263 | var settings = $( '#article-assessment' ).data( 'articleAssessment-context' ).settings; |
264 | | - if (data.error) { |
265 | | - alert(data.error.code); |
266 | | - } |
267 | | - |
268 | 264 | // add the correct data to the markup |
269 | 265 | if ( data.query && data.query.articleassessment && data.query.articleassessment.length > 0 ) { |
270 | 266 | for ( var r in data.query.articleassessment[0].ratings ) { |