[common] fix bug 49480
This commit is contained in:
parent
d4a2b07d98
commit
a547dabab6
|
@ -1156,12 +1156,6 @@ define([
|
|||
$('.doc-placeholder').remove();
|
||||
|
||||
this.appOptions.user.guest && this.appOptions.canRenameAnonymous && (Common.Utils.InternalSettings.get("guest-username")===null) && this.showRenameUserDialog();
|
||||
$('#header-logo').children(0).click(function(e) {
|
||||
e.stopImmediatePropagation();
|
||||
Common.UI.Themes.toggleTheme();
|
||||
|
||||
// getComputedStyle(document.documentElement).getPropertyValue('--background-normal');
|
||||
})
|
||||
},
|
||||
|
||||
onLicenseChanged: function(params) {
|
||||
|
|
|
@ -877,12 +877,6 @@ define([
|
|||
|
||||
$('.doc-placeholder').remove();
|
||||
this.appOptions.user.guest && this.appOptions.canRenameAnonymous && (Common.Utils.InternalSettings.get("guest-username")===null) && this.showRenameUserDialog();
|
||||
|
||||
$('#header-logo').children(0).click(function(e) {
|
||||
e.stopImmediatePropagation();
|
||||
|
||||
Common.UI.Themes.toggleTheme();
|
||||
})
|
||||
},
|
||||
|
||||
onLicenseChanged: function(params) {
|
||||
|
|
|
@ -946,11 +946,6 @@ define([
|
|||
Common.Gateway.documentReady();
|
||||
if (this.appOptions.user.guest && this.appOptions.canRenameAnonymous && !this.appOptions.isEditDiagram && !this.appOptions.isEditMailMerge && (Common.Utils.InternalSettings.get("guest-username")===null))
|
||||
this.showRenameUserDialog();
|
||||
|
||||
$('#header-logo').children(0).click(function(e) {
|
||||
e.stopImmediatePropagation();
|
||||
Common.UI.Themes.toggleTheme();
|
||||
})
|
||||
},
|
||||
|
||||
onLicenseChanged: function(params) {
|
||||
|
|
Loading…
Reference in a new issue