diff --git a/api/js/jsapi/egw.js b/api/js/jsapi/egw.js index dab9d0518d..fb48ad14b8 100644 --- a/api/js/jsapi/egw.js +++ b/api/js/jsapi/egw.js @@ -441,6 +441,11 @@ // get TypeScript modules working with our loader function require(_file) { + switch(_file) + { + case 'jquery': // cropper mistakes this for commonJS (typeof exports === 'object') + return window.jQuery; + } return window.exports; } var exports = {};