amending commit 59ac3f4 "always name generated file app.min.js"

This commit is contained in:
Ralf Becker 2021-07-19 11:50:33 +02:00
parent efb1711eef
commit eec16362dc
2 changed files with 2 additions and 2 deletions

View File

@ -1081,7 +1081,7 @@ class AdminApp extends EgwApp
if(egw.app('policy')) if(egw.app('policy'))
{ {
import(egw.link('/policy/js/app.js?'+((new Date).valueOf()/86400|0).toString())).then(() => { import(egw.link('/policy/js/app.min.js?'+((new Date).valueOf()/86400|0).toString())).then(() => {
if(typeof app.policy === 'undefined' || typeof app.policy.confirm === 'undefined') if(typeof app.policy === 'undefined' || typeof app.policy.confirm === 'undefined')
{ {
app.policy = new app.classes.policy(); app.policy = new app.classes.policy();

View File

@ -778,7 +778,7 @@ class InfologApp extends EgwApp
if (!app.stylite) if (!app.stylite)
{ {
import(egw.webserverUrl+'/stylite/js/app.js?'+((new Date).valueOf()/86400|0).toString()).then(() => import(egw.webserverUrl+'/stylite/js/app.min.js?'+((new Date).valueOf()/86400|0).toString()).then(() =>
{ {
app.stylite = new app.classes.stylite; app.stylite = new app.classes.stylite;
app.stylite.et2 = this.et2; app.stylite.et2 = this.et2;