fix projector
This commit is contained in:
parent
973d3fa653
commit
2c64a161ac
@ -99,13 +99,11 @@ angular.module('OpenSlidesApp.core', [
|
||||
}
|
||||
])
|
||||
|
||||
// Load the global data on startup and when the operator changes
|
||||
// Load the global data on startup
|
||||
.run([
|
||||
'loadGlobalData',
|
||||
'operator',
|
||||
function(loadGlobalData, operator) {
|
||||
loadGlobalData();
|
||||
operator.onOperatorChange(loadGlobalData);
|
||||
}
|
||||
])
|
||||
|
||||
@ -218,6 +216,15 @@ angular.module('OpenSlidesApp.core.site', [
|
||||
}
|
||||
])
|
||||
|
||||
// Load the global data when the operator changes
|
||||
.run([
|
||||
'loadGlobalData',
|
||||
'operator',
|
||||
function(loadGlobalData, operator) {
|
||||
operator.onOperatorChange(loadGlobalData);
|
||||
}
|
||||
])
|
||||
|
||||
.config([
|
||||
'mainMenuProvider',
|
||||
function (mainMenuProvider) {
|
||||
|
Loading…
Reference in New Issue
Block a user