Builder/RightGtkView.js
authorAlan Knowles <alan@akbkhome.com>
Tue, 11 May 2010 10:57:48 +0000 (18:57 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 11 May 2010 10:57:48 +0000 (18:57 +0800)
Builder/RightGtkView.js

index a33118f..8310f10 100755 (executable)
@@ -225,7 +225,10 @@ RightGtkView = new XObject({
         
         showInWindow: function ()
         {
-             
+            var src= this.lastSrc;
+            if (!this.lastSrc.length) {
+                return;
+               }
             var x = new imports.sandbox.Context();
             x.add_globals();
             try {