Skip to content
Snippets Groups Projects

F dropdown

Merged Timm Fitschen requested to merge f-dropdown into dev
All threads resolved!
1 file
+ 6
2
Compare changes
  • Side-by-side
  • Inline
+ 6
2
@@ -29,14 +29,18 @@
window.addEventListener('error', (e) => globalError(e.error));
var globalError = function (error) {
var stack = error.stack;
// ignore this particular error. It is caused by bootstrap-select which is
// probably misusing the bootstrap 5 API.
if (error.toString().startsWith("TypeError: this._element is undefined")) {
return;
if (error && error.stack)
stack = "" + error.stack;
if (stack.indexOf("dataApiKeydownHandler") > 0) {
return;
}
}
var stack = error.stack;
var message = "Error! Please help to make CaosDB better! Copy this message and send it via email to info@indiscale.com.\n\n";
message += error.toString();
Loading