forked from extern/egroupware
Still need to clear before loading or dialogs get doubled
This commit is contained in:
parent
4d4eb5e654
commit
ec6a3881e3
@ -372,6 +372,7 @@ var etemplate2 = /** @class */ (function () {
|
|||||||
if (!jQuery.isArray(_data.langRequire))
|
if (!jQuery.isArray(_data.langRequire))
|
||||||
_data.langRequire = [];
|
_data.langRequire = [];
|
||||||
egw(currentapp, window).langRequire(window, _data.langRequire, function () {
|
egw(currentapp, window).langRequire(window, _data.langRequire, function () {
|
||||||
|
this.clear();
|
||||||
// Initialize application js
|
// Initialize application js
|
||||||
var app_callback = null;
|
var app_callback = null;
|
||||||
// Only initialize once
|
// Only initialize once
|
||||||
|
@ -472,6 +472,8 @@ export class etemplate2
|
|||||||
if (!jQuery.isArray(_data.langRequire)) _data.langRequire = [];
|
if (!jQuery.isArray(_data.langRequire)) _data.langRequire = [];
|
||||||
egw(currentapp, window).langRequire(window, _data.langRequire, function ()
|
egw(currentapp, window).langRequire(window, _data.langRequire, function ()
|
||||||
{
|
{
|
||||||
|
this.clear();
|
||||||
|
|
||||||
// Initialize application js
|
// Initialize application js
|
||||||
let app_callback = null;
|
let app_callback = null;
|
||||||
// Only initialize once
|
// Only initialize once
|
||||||
|
Loading…
Reference in New Issue
Block a user