Merge "Check for empty response"

This commit is contained in:
Prtksxna 2014-06-23 01:51:15 +00:00 committed by Gerrit Code Review
commit b65954645f

View file

@ -57,6 +57,7 @@
mw.popups.render.currentRequest = undefined; mw.popups.render.currentRequest = undefined;
if ( if (
!re.query ||
!re.query.pages || !re.query.pages ||
!re.query.pages[ re.query.pageids[ 0 ] ].extract || !re.query.pages[ re.query.pageids[ 0 ] ].extract ||
re.query.pages[ re.query.pageids[ 0 ] ].extract === '' re.query.pages[ re.query.pageids[ 0 ] ].extract === ''