Builder/RightGtkView.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 13 May 2010 10:26:23 +0000 (18:26 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 13 May 2010 10:26:23 +0000 (18:26 +0800)
Builder/RightGtkView.js

index f4abcc7..6f76778 100755 (executable)
@@ -266,6 +266,9 @@ RightGtkView = new XObject({
              * sandbox it? - nope then will have dificulting passing. stuff aruond..
              * 
              */
+             if (!data) {
+                 return; 
+                }
             var src = this.buildJS(data);
             var x = new imports.sandbox.Context();
             x.add_globals();