1
0
Fork 0

Fixed dashboard behaviour in dashboard. #1259

This commit is contained in:
Michael Hackstein 2015-03-04 15:39:37 +01:00
parent 063f498e7f
commit 4e20eeab33
3 changed files with 3 additions and 2 deletions

View File

@ -309,6 +309,7 @@
grunt.registerTask('default', [
'sass:dev',
'jshint:default',
'replace',
'concat_in_order:sharedLibs',
'concat_in_order:default',

View File

@ -2439,7 +2439,7 @@ window.StatisticsCollection = Backbone.Collection.extend({
//check if user has _system permission
var authorized = this.options.database.hasSystemAccess();
if (authorized === undefined) {
if (!authorized) {
$('.contentDiv').remove();
$('.headerBar').remove();
$('.dashboard-headerbar').remove();

View File

@ -712,7 +712,7 @@
//check if user has _system permission
var authorized = this.options.database.hasSystemAccess();
if (authorized === undefined) {
if (!authorized) {
$('.contentDiv').remove();
$('.headerBar').remove();
$('.dashboard-headerbar').remove();