Merge pull request #2786 from normanjaeckel/PatchInMediafile
Changed PATCH to PUT for mediafile update. See #1871.
This commit is contained in:
commit
abe6c0f589
@ -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();
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user