Updated application.
This commit is contained in:
@@ -188,12 +188,18 @@
|
||||
Common.Analytics.trackEvent("Load", "Complete");
|
||||
}
|
||||
function onEditorPermissions(params) {
|
||||
if (params.asc_getCanBranding() && (typeof config.customization == "object") && config.customization && config.customization.logoUrlEmbedded) {
|
||||
$("#header-logo").css({
|
||||
"background-image": 'url("' + config.customization.logoUrlEmbedded + '")',
|
||||
"background-position": "0 center",
|
||||
"background-repeat": "no-repeat"
|
||||
});
|
||||
if (params.asc_getCanBranding() && (typeof config.customization == "object") && config.customization && config.customization.logo) {
|
||||
var logo = $("#header-logo");
|
||||
if (config.customization.logo.imageEmbedded) {
|
||||
logo.css({
|
||||
"background-image": 'url("' + config.customization.logo.imageEmbedded + '")',
|
||||
"background-position": "0 center",
|
||||
"background-repeat": "no-repeat"
|
||||
});
|
||||
}
|
||||
if (config.customization.logo.url) {
|
||||
logo.attr("href", config.customization.logo.url);
|
||||
}
|
||||
}
|
||||
}
|
||||
function showMask() {
|
||||
|
||||
@@ -37,11 +37,12 @@
|
||||
template: _.template(menuTemplate),
|
||||
events: function () {
|
||||
return {
|
||||
"click #left-btn-support": function () {
|
||||
window.open("http://feedback.onlyoffice.com/");
|
||||
},
|
||||
"click #left-btn-comments": _.bind(this.onCoauthOptions, this),
|
||||
"click #left-btn-chat": _.bind(this.onCoauthOptions, this)
|
||||
"click #left-btn-chat": _.bind(this.onCoauthOptions, this),
|
||||
"click #left-btn-support": function () {
|
||||
var config = this.mode.customization;
|
||||
config && !!config.feedback && !!config.feedback.url ? window.open(config.feedback.url) : window.open("http://feedback.onlyoffice.com/");
|
||||
}
|
||||
};
|
||||
},
|
||||
initialize: function () {
|
||||
|
||||
Reference in New Issue
Block a user