Sample/Window.js
authorAlan Knowles <alan@akbkhome.com>
Mon, 5 Jul 2010 07:50:51 +0000 (15:50 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 5 Jul 2010 07:50:51 +0000 (15:50 +0800)
Sample/Window.js

index 90c8225..a3adea1 100644 (file)
@@ -2949,7 +2949,7 @@ Window=new XObject({
                                                                                     
                                                                                         this.runhtml  = this.runhtml || '';
                                                                                         
-                                                                                        if (project.runhtml != this.runhtml) {
+                                                                                        if (!this.runhtml.length || project.runhtml != this.runhtml) {
                                                                                             // then we need to reload the browser using
                                                                                             // load_html_string..