From 11e39e4ed822eaa44de2f4799fd84bc91817a4e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Norman=20J=C3=A4ckel?= Date: Fri, 16 Dec 2016 16:58:03 +0100 Subject: [PATCH] Changed PATCH to PUT for mediafile update. See #1871. --- openslides/mediafiles/static/js/mediafiles/update.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openslides/mediafiles/static/js/mediafiles/update.js b/openslides/mediafiles/static/js/mediafiles/update.js index 7c46e2d02..457e06357 100644 --- a/openslides/mediafiles/static/js/mediafiles/update.js +++ b/openslides/mediafiles/static/js/mediafiles/update.js @@ -34,7 +34,7 @@ angular.module('OpenSlidesApp.mediafiles.update', [ // inject the changed mediafile (copy) object back into DS store Mediafile.inject(mediafile); // save change mediafile object on server - Mediafile.save(mediafile, { method: 'PATCH' }).then( + Mediafile.save(mediafile).then( function (success) { $scope.closeThisDialog(); },