| Index: experimental/webtry/res/js/webtry.js
|
| diff --git a/experimental/webtry/res/js/webtry.js b/experimental/webtry/res/js/webtry.js
|
| index 8bce06bfd78261681723f9ea1a90f0cd6c53e0c0..18190e92cb59e6de8bfeabb95b08c0cc0856b25b 100644
|
| --- a/experimental/webtry/res/js/webtry.js
|
| +++ b/experimental/webtry/res/js/webtry.js
|
| @@ -269,7 +269,7 @@
|
| // image to display.
|
| endWait();
|
| body = JSON.parse(e.target.response);
|
| - if (body.compileErrors.length) {
|
| + if (null != body.compileErrors && body.compileErrors.length) {
|
| html = "";
|
| for (i = 0 ; i < body.compileErrors.length ; i++) {
|
| compileError = body.compileErrors[i];
|
|
|