// (c)2016 Jesse MacFadyen,  Adobe Systems Incorporated

var exec = require('cordova/exec');

module.exports = {

    loadView:function(strPath) {
        exec(null,null,"PGMultiView","loadActivity",[strPath]);
    },

    dismissView:function() {
        exec(null,null,"PGMultiView","dismissActivity",[]);
    }
}

@@ -85,16 +85,58 @@
 /exec');
+%0Avar urlutil = require('cordova/urlutil');
 %0A%0Amodule
@@ -178,24 +178,139 @@
 (strPath) %7B%0A
+        // make sure it is absolute using cordova.js util method.%0A        strPath = urlutil.makeAbsolute(strPath);%0A
         exec

resolve url to absolute using cordova js util method