theme manager fix

This commit is contained in:
yuri
2016-02-08 16:03:09 +02:00
parent 2412c7521b
commit 6bc2c7a576

View File

@@ -53,7 +53,9 @@ Espo.define('theme-manager', [], function () {
getStylesheet: function () {
var link = this.metadata.get('themes.' + this.getName() + '.stylesheet') || 'client/css/espo.css';
link += '?r=' + this.config.get('cacheTimestamp').toString();
if (this.config.get('cacheTimestamp')) {
link += '?r=' + this.config.get('cacheTimestamp').toString();
}
return link
},