Sample/Window.js
authorAlan Knowles <alan@akbkhome.com>
Fri, 11 Jun 2010 03:56:53 +0000 (11:56 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 11 Jun 2010 03:56:53 +0000 (11:56 +0800)
Sample/Window.js

index 73e77ff..a4606c3 100644 (file)
@@ -2745,7 +2745,7 @@ Window=new XObject({
                                                                                         
                                                                                         },
                                                                                         script_alert : function (self, object, p0) {
-                                                                                               print(p0);
+                                                                                            //         print(p0);
                                                                                                 return false;
                                                                                                 return true; // do not display anything...
                                                                                         },
@@ -2753,7 +2753,7 @@ Window=new XObject({
                                                                                            //  console.log(object);
                                                                                                 if (!object.match(/^\{/)) {
                                                                                                 
-                                                                                                    this.get('/Terminal').feed(object);
+                                                                                                    //this.get('/Terminal').feed(object);
                                                                                                     return true; // do not handle!!! -> later maybe in console..
                                                                                                 }
                                                                                                // console.log(object);
@@ -2920,6 +2920,8 @@ Window=new XObject({
                                                                                     },
                                                                                     renderJS : function(data) {
                                                                                         print("HTML RENDERING");
+                                                                                         this.get('/BottomPane').el.show();
+                                                                                        this.get('/BottomPane').el.set_current_page(2);// webkit view!
                                                                                         /// prevent looping..
                                                                                         //if (this.pendingRedraw) {
                                                                                         //   print("pending redraw active?!");