mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-09-07 21:54:35 +08:00
Revert broken RainLoop merge for TemplatesLink
This commit is contained in:
parent
a541123034
commit
a6a337e5ce
2 changed files with 3 additions and 4 deletions
4
dev/bootstrap.js
vendored
4
dev/bootstrap.js
vendored
|
@ -44,9 +44,7 @@ export default (App) => {
|
|||
window.__APP_BOOT = (fErrorCallback) => {
|
||||
domReady(() => {
|
||||
window.setTimeout(() => {
|
||||
if (window.document.getElementById('rainloop-templates-id')) {
|
||||
start();
|
||||
} else if (window.rainloopTEMPLATES && window.rainloopTEMPLATES[0]) {
|
||||
if (window.rainloopTEMPLATES && window.rainloopTEMPLATES[0]) {
|
||||
window.document.getElementById('rl-templates').innerHTML = window.rainloopTEMPLATES[0];
|
||||
start();
|
||||
} else {
|
||||
|
|
|
@ -1225,7 +1225,7 @@ class Actions
|
|||
|
||||
/*
|
||||
required by Index.html and rl.js:
|
||||
NewThemeLink IncludeCss LoadingDescriptionEsc LangLink IncludeBackground PluginsLink AuthAccountHash
|
||||
NewThemeLink IncludeCss LoadingDescriptionEsc TemplatesLink LangLink IncludeBackground PluginsLink AuthAccountHash
|
||||
*/
|
||||
|
||||
$aResult = array(
|
||||
|
@ -1593,6 +1593,7 @@ NewThemeLink IncludeCss LoadingDescriptionEsc LangLink IncludeBackground Plugins
|
|||
($bAdmin ? $aResult['LanguageAdmin'] : $aResult['Language']).'/'.$sStaticCache.'/';
|
||||
|
||||
// $aResult['TemplatesLink'] = './?/Templates/0/'.($bAdmin ? 'Admin' : 'App').'/'.$sStaticCache.'/';
|
||||
$aResult['TemplatesLink'] = './?/Templates/0/'.($bAdmin ? 'Admin' : 'App').'/'.$sStaticCache.'/';
|
||||
|
||||
$bAppJsDebug = !!$this->Config()->Get('labs', 'use_app_debug_js', false);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue