diff --git a/file/js/be.bastelstu.Chat.litcoffee b/file/js/be.bastelstu.Chat.litcoffee index 3f98ca6..56727c0 100644 --- a/file/js/be.bastelstu.Chat.litcoffee +++ b/file/js/be.bastelstu.Chat.litcoffee @@ -407,7 +407,11 @@ Decrease `@shields` on error and disable PeriodicalExecuters once `@shields` rea @pe.getMessages.stop() @freeTheFish() console.error 'We got destroyed, but could free our friend the fish before he was killed as well. Have a nice life in freedom!' - alert 'herp i cannot load messages' + if not $.wcfIsset('timsChatLoadingErrorDialog') then $('
' + WCF.Language.get('chat.general.error.onMessageLoad') + '
').appendTo('body') + $('#timsChatLoadingErrorDialog').wcfDialog({ + 'closable': false, + title: WCF.Language.get('wcf.global.error.title') + }) complete: => @loading = false