Fix js error "Uncaught TypeError: Object prototype may only be an Object or null: undefined"

This error happens when a required file is missing.
This commit is contained in:
nathangray 2020-03-06 10:42:31 -07:00
parent 4fe466f4f9
commit 28143ab160
2 changed files with 6 additions and 0 deletions

View File

@ -22,6 +22,9 @@ var __extends = (this && this.__extends) || (function () {
}; };
})(); })();
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
/*egw:uses
/api/js/jsapi/egw_app.js;
*/
var egw_app_1 = require("../../api/js/jsapi/egw_app"); var egw_app_1 = require("../../api/js/jsapi/egw_app");
/** /**
* UI for filemanager * UI for filemanager

View File

@ -8,6 +8,9 @@
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
*/ */
/*egw:uses
/api/js/jsapi/egw_app.js;
*/
import {EgwApp} from "../../api/js/jsapi/egw_app"; import {EgwApp} from "../../api/js/jsapi/egw_app";
import {et2_nextmatch} from "../../api/js/etemplate/et2_extension_nextmatch"; import {et2_nextmatch} from "../../api/js/etemplate/et2_extension_nextmatch";