Merge pull request #2512 from FinnStutzenstein/Issue2470
key value switched in angular foreach (fixes #2470)
This commit is contained in:
commit
68139ff5be
@ -495,7 +495,7 @@ angular.module('OpenSlidesApp.core', [
|
|||||||
},
|
},
|
||||||
getStateForCurrentSlide: function () {
|
getStateForCurrentSlide: function () {
|
||||||
var return_dict;
|
var return_dict;
|
||||||
angular.forEach(this.elements, function(key, value) {
|
angular.forEach(this.elements, function(value, key) {
|
||||||
if (value.name == 'agenda/list-of-speakers') {
|
if (value.name == 'agenda/list-of-speakers') {
|
||||||
return_dict = {
|
return_dict = {
|
||||||
'state': 'agenda.item.detail',
|
'state': 'agenda.item.detail',
|
||||||
|
Loading…
Reference in New Issue
Block a user