From 957bd8916a87dfe75db5a632f2b134a284f2c059 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Wed, 10 Nov 2021 17:24:14 +0100 Subject: [PATCH] chore(tech-debt) remove dead code --- modules/UI/util/MessageHandler.js | 40 +------------------------------ 1 file changed, 1 insertion(+), 39 deletions(-) diff --git a/modules/UI/util/MessageHandler.js b/modules/UI/util/MessageHandler.js index 723633099..e2d76021c 100644 --- a/modules/UI/util/MessageHandler.js +++ b/modules/UI/util/MessageHandler.js @@ -1,4 +1,4 @@ -/* global $, APP */ +/* global APP */ import { NOTIFICATION_TIMEOUT, @@ -8,44 +8,6 @@ import { } from '../../../react/features/notifications'; const messageHandler = { - OK: 'dialog.OK', - CANCEL: 'dialog.Cancel', - - /** - * Returns the formatted title string. - * - * @return the title string formatted as a div. - */ - _getFormattedTitleString(titleKey) { - const $titleString = $('

'); - - $titleString.addClass('aui-dialog2-header-main'); - $titleString.attr('data-i18n', titleKey); - - return $('
').append($titleString) - .html(); - }, - - /** - * Returns the dialog css classes. - * - * @return the dialog css classes - */ - _getDialogClasses(size = 'small') { - return { - box: '', - form: '', - prompt: `dialog aui-layer aui-dialog2 aui-dialog2-${size}`, - close: 'aui-hide', - fade: 'aui-blanket', - button: 'button-control', - message: 'aui-dialog2-content', - buttons: 'aui-dialog2-footer', - defaultButton: 'button-control_primary', - title: 'aui-dialog2-header' - }; - }, - /** * Opens new popup window for given url centered over current * window.