mirror of
https://gitee.com/shuto/cordova-plugin-file-opener2.git
synced 2025-01-31 12:02:49 +08:00
Update fileOpener2Proxy.js
then > done
This commit is contained in:
parent
bea7625d8f
commit
d2ccb221e9
@ -75,7 +75,7 @@
|
|||||||
getFile(path).then(function (file) {
|
getFile(path).then(function (file) {
|
||||||
var options = new Windows.System.LauncherOptions();
|
var options = new Windows.System.LauncherOptions();
|
||||||
|
|
||||||
Windows.System.Launcher.launchFileAsync(file, options).done(function (success) {
|
Windows.System.Launcher.launchFileAsync(file, options).then(function (success) {
|
||||||
successCallback();
|
successCallback();
|
||||||
}, function (error) {
|
}, function (error) {
|
||||||
errorCallback(error);
|
errorCallback(error);
|
||||||
|
Loading…
Reference in New Issue
Block a user