Correct bug
This commit is contained in:
parent
a845b20ee9
commit
ef3054bb8f
2 changed files with 3 additions and 3 deletions
|
@ -15,7 +15,7 @@ mainApp.controller('editImageCtrl', ['$scope', 'Image', 'Loading', 'Identity', '
|
|||
$scope.data.visibility = "public";
|
||||
$scope.data.protected = false;
|
||||
|
||||
$scope.updateImage = function (image) {
|
||||
$scope.applyEdition = function (image) {
|
||||
image.visibility = $scope.data.visibility;
|
||||
image.protected = $scope.data.protected;
|
||||
Image.updateImage(image, function(){});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue