mirror of
https://github.com/purplecabbage/phonegap-plugins.git
synced 2026-04-24 03:00:11 -04:00
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:
@@ -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)
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user