chore(tech-debt) remove dead code

This commit is contained in:
Saúl Ibarra Corretgé 2021-11-10 17:24:14 +01:00 committed by Saúl Ibarra Corretgé
parent 8f08a54fb2
commit 957bd8916a
1 changed files with 1 additions and 39 deletions

View File

@ -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 = $('<h2>');
$titleString.addClass('aui-dialog2-header-main');
$titleString.attr('data-i18n', titleKey);
return $('<div>').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 <tt>url</tt> centered over current
* window.