src/Builder4/DialogPluginWebkit.bjs
authorAlan Knowles <alan@roojs.com>
Thu, 16 Apr 2015 09:23:52 +0000 (17:23 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 16 Apr 2015 09:23:52 +0000 (17:23 +0800)
src/Builder4/DialogPluginWebkit.vala
tests/plugindialog.vala.c
tests/DialogPluginWebkit.vala.c
tests/FakeServer.vala.c
tests/Application.vala.c

src/Builder4/DialogPluginWebkit.bjs
src/Builder4/DialogPluginWebkit.vala

index 88f3b14..2140e19 100644 (file)
@@ -36,7 +36,7 @@
        "items" : [
         {
          "id" : "webview",
-         "* init" : " {\n    // this may not work!?\n    var settings =  this.el.get_settings();\n    \n     \n    //var fs= new FakeServer(this.el);\n    //fs.ref();\n    // this was an attempt to change the url perms.. did not work..\n    // settings.enable_file_access_from_file_uris = true;\n    // settings.enable_offline_web_application_cache - true;\n    // settings.enable_universal_access_from_file_uris = true;\n   \n     \n    \n    \n    \n\n     // FIXME - base url of script..\n     // we need it so some of the database features work.\n    this.el.load_html( \"Render not ready\" , \n            //fixme - should be a config option!\n            // or should we catch stuff and fix it up..\n            \"xhttp://localhost/app.Builder/\"\n    );\n        \n        \n    \n    \n}\n",
+         "* init" : " {\n    // this may not work!?\n    var settings =  this.el.get_settings();\n    \n     \n    var fs= new FakeServer(this.el);\n    fs.ref();\n    // this was an attempt to change the url perms.. did not work..\n    // settings.enable_file_access_from_file_uris = true;\n    // settings.enable_offline_web_application_cache - true;\n    // settings.enable_universal_access_from_file_uris = true;\n   \n     \n    \n    \n    \n\n     // FIXME - base url of script..\n     // we need it so some of the database features work.\n    this.el.load_html( \"Render not ready\" , \n            //fixme - should be a config option!\n            // or should we catch stuff and fix it up..\n            \"xhttp://localhost/app.Builder/\"\n    );\n        \n        \n    \n    \n}\n",
          "xtype" : "WebView",
          "* pack" : "add",
          "$ xns" : "WebKit"
index 43da5da..90fa83e 100644 (file)
@@ -212,8 +212,8 @@ public class Xcls_DialogPluginWebkit : Object
                 var settings =  this.el.get_settings();
                 
                  
-                //var fs= new FakeServer(this.el);
-                //fs.ref();
+                var fs= new FakeServer(this.el);
+                fs.ref();
                 // this was an attempt to change the url perms.. did not work..
                 // settings.enable_file_access_from_file_uris = true;
                 // settings.enable_offline_web_application_cache - true;