support click "(choose file)" to cancel current operation
This commit is contained in:
parent
4305b80c21
commit
0aceed22f4
|
@ -264,8 +264,12 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
$scope.showChooseFilesToolbar = function () {
|
$scope.showChooseFilesToolbar = function () {
|
||||||
pauseDownloadTaskRefresh = true;
|
if (!$scope.context.showChooseFilesToolbar) {
|
||||||
$scope.context.showChooseFilesToolbar = true;
|
pauseDownloadTaskRefresh = true;
|
||||||
|
$scope.context.showChooseFilesToolbar = true;
|
||||||
|
} else {
|
||||||
|
$scope.cancelChooseFiles();
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
$scope.isAnyFileSelected = function () {
|
$scope.isAnyFileSelected = function () {
|
||||||
|
|
Reference in a new issue