How to prevent a connection error

We sometimes have the ‘a connection error occurred’ error on the client. We don't know what is causing the issue, but I'm wondering whether it's possible to prevent this error from appearing (even when there is no connection). Can this be done through a setting?
1 answers

Hi Remco, did you manage to find a solution for this.

I would like just to hide the message from appearing.

EDIT: Use this javascript to hide the connection error popup

if ( window.connectionErrorOveride != true )  {
  window.connectionErrorOveride = true;
  var oldTranslate = mx.ui.translate ;
  mx.ui.translate = function(t, e, n, i) {
    if ( e == "connection_error" ) {
      return null;
    } else {
      return oldTranslate.apply(this, arguments);