return null; //new WebKit.WebView();
}
},
+ redraws : 0,
id : "view",
pack : "add",
init : function() {
return;
}
var data = js[0];
-
+ this.redraws++;
var project = this.get('/Window.LeftTree').getActiveFile().project;
//print (project.fn);
this.runhtml = this.runhtml || '';
- if (project.runhtml != this.runhtml) {
+ if ((project.runhtml != this.runhtml) || (this.redraws > 10)) {
// then we need to reload the browser using
// load_html_string..
//fixme - should be a config option!
'http://localhost/app.Builder/'
);
-
+ this.redraws = 0;
// should trigger load_finished! - which in truns shoudl set refresh Required;
return;