Merge pull request #2040 from emanuelschuetze/fix2029
Fix 'stop' speech button in Safari (Fixes #2029)
This commit is contained in:
commit
f29db57ace
@ -318,7 +318,7 @@ angular.module('OpenSlidesApp.agenda.site', ['OpenSlidesApp.agenda'])
|
|||||||
$scope.endSpeech = function () {
|
$scope.endSpeech = function () {
|
||||||
$http.delete(
|
$http.delete(
|
||||||
'/rest/agenda/item/' + item.id + '/speak/',
|
'/rest/agenda/item/' + item.id + '/speak/',
|
||||||
{headers: {'Content-Type': 'application/json'}, data: JSON.stringify()}
|
{headers: {'Content-Type': 'application/json'}, data: {}}
|
||||||
)
|
)
|
||||||
.error(function(data){
|
.error(function(data){
|
||||||
$scope.alert = { type: 'danger', msg: data.detail, show: true };
|
$scope.alert = { type: 'danger', msg: data.detail, show: true };
|
||||||
|
Loading…
Reference in New Issue
Block a user