diff --git a/api/js/etemplate/et2_widget_date.ts b/api/js/etemplate/et2_widget_date.ts index 09dc88f970..7e2b8b36a2 100644 --- a/api/js/etemplate/et2_widget_date.ts +++ b/api/js/etemplate/et2_widget_date.ts @@ -9,8 +9,6 @@ * @copyright Nathan Gray 2011 */ -// NEEDED by date widget -import "../jquery/jquery-ui-timepicker-addon.js"; import {et2_csvSplit, et2_no_init} from "./et2_core_common"; import {ClassWithAttributes} from "./et2_core_inheritance"; import {et2_createWidget, et2_register_widget, et2_widget, WidgetConfig} from "./et2_core_widget"; diff --git a/api/js/jsapi/egw_json.js b/api/js/jsapi/egw_json.js index a442d2ff96..71286d6e42 100644 --- a/api/js/jsapi/egw_json.js +++ b/api/js/jsapi/egw_json.js @@ -538,7 +538,7 @@ egw.extend('json', egw.MODULE_WND_LOCAL, function(_app, _wnd) // check if we need a not yet included app.js object --> include it now and return a Promise else if (i == 1 && parts[0] == 'app' && typeof app.classes[parts[1]] === 'undefined') { - return this.includeJS('/'+parts[1]+'/js/app.js', undefined, undefined, this.webserverUrl) + return this.includeJS('/'+parts[1]+'/js/app.js?'+((new Date).valueOf()/86400|0).toString(), undefined, undefined, this.webserverUrl) .then(() => this.applyFunc(_func, args, _context), (err) => {console.error("Failure loading /"+parts[1]+'/js/app.js' + " (" + err + ")\nAborting.")}); }