Adding Activity partial

This commit is contained in:
Gunther Brunner
2014-04-04 17:34:30 +09:00
parent 63389ab7f8
commit 6cfe5cf9bc
9 changed files with 425 additions and 6 deletions

View File

@@ -36,7 +36,9 @@ module.exports = function UploadCtrl($scope, $rootScope, SettingsService, gettex
var tx = $rootScope.control.uninstall(packageName)
return tx.promise.then(function (result) {
if (result.success) {
//$scope.clear()
$scope.$apply(function () {
$scope.clear()
})
} else {
console.error(result.error)
}