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 () {
|
||||||
|
if (!$scope.context.showChooseFilesToolbar) {
|
||||||
pauseDownloadTaskRefresh = true;
|
pauseDownloadTaskRefresh = true;
|
||||||
$scope.context.showChooseFilesToolbar = true;
|
$scope.context.showChooseFilesToolbar = true;
|
||||||
|
} else {
|
||||||
|
$scope.cancelChooseFiles();
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
$scope.isAnyFileSelected = function () {
|
$scope.isAnyFileSelected = function () {
|
||||||
|
|
Reference in a new issue