From c206e0204df768abf9376eeeb2069cbf8f3cd801 Mon Sep 17 00:00:00 2001 From: Loic GUEGAN Date: Sun, 8 May 2016 15:54:19 +0200 Subject: [PATCH] test --- client/js/services/Image.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/js/services/Image.js b/client/js/services/Image.js index 6b69f4a..b5a0293 100644 --- a/client/js/services/Image.js +++ b/client/js/services/Image.js @@ -67,7 +67,7 @@ mainApp.factory('Image', ['$http', 'Identity', function ($http, Identity) { var result = $http.post('../server/index.php', - $.param({"token": Identity.getToken(), "task": "image", 'action': 'updateImage', 'id': image.id, 'opt': {'name': image.name}})); + $.param({"token": Identity.getToken(), "task": "image", 'action': 'updateImage', 'id': image.id, 'opt': {'name': image.name,'protected':image.protected, 'visibility':image.visibility}})); // Wait and handle the response result.then(function (response) {