Fixing the call to Cordova

The Capital C in Cordova.exec causes the plugin to not work. By
changing it to cordova.exec it works as expected.
This commit is contained in:
Drew Dahlman
2012-04-16 08:26:09 -06:00
parent c64d17d5a7
commit c6c52c1479
2 changed files with 2 additions and 2 deletions

View File

@@ -39,12 +39,12 @@ ChildBrowser._onJSCallback = function(js,loc)
// Show a webpage, will result in a callback to onLocationChange
ChildBrowser.prototype.showWebPage = function(loc)
{
Cordova.exec("ChildBrowserCommand.showWebPage", loc);
cordova.exec("ChildBrowserCommand.showWebPage", loc);
};
// close the browser, will NOT result in close callback
ChildBrowser.prototype.close = function()
{
Cordova.exec("ChildBrowserCommand.close");
cordova.exec("ChildBrowserCommand.close");
};
// Not Implemented
ChildBrowser.prototype.jsExec = function(jsString)