Updated most dependencies.

Upgraded ng-file-upload to 2.0
This commit is contained in:
Gunther Brunner
2014-12-02 16:15:31 +09:00
parent ed106ab7c6
commit 50e4dfd47b
4 changed files with 20 additions and 18 deletions

View File

@@ -19,7 +19,9 @@ module.exports = function InstallCtrl(
}
$scope.installFile = function ($files) {
return InstallService.installFile($scope.control, $files)
if ($files.length) {
return InstallService.installFile($scope.control, $files)
}
}
$scope.uninstall = function (packageName) {