* @description Initializes and displays the "File Type Error" modal dialog window with specific content and user response options. * @private * @function *
()
| 125 | * |
| 126 | */ |
| 127 | function initFileTypeErrorDialog() { |
| 128 | |
| 129 | const image = createImage(C.ImageSource.ERROR, C.CSSClass.DIALOG_IMAGE); |
| 130 | const text = createText(C.Label.DIALOG_FILE_TYPE); |
| 131 | const content = createContent(C.CSSClass.DIALOG_CONTENT, image, text); |
| 132 | |
| 133 | M.FileTypeErrorDialog = new Dialog(content, Dialog.Type.ALERT); |
| 134 | M.FileTypeErrorDialog.display(); |
| 135 | } |
| 136 | |
| 137 | /** |
| 138 | * @description Initializes and displays the "Image Size Error" modal dialog window with specific content and user response options. |
no test coverage detected