confirm_dialog: Change the style and position of error message element.

This commit changes the error message element of confirm_dialog to be
above the text of dialog and to be a nice box using already defined
"alert" class.
This commit is contained in:
sahil839
2021-07-05 15:45:12 +05:30
committed by Tim Abbott
parent 19362f393e
commit 0ebcb17397
2 changed files with 2 additions and 2 deletions

View File

@@ -87,7 +87,7 @@ export function launch(conf) {
link: conf.help_link,
}),
);
confirm_dialog.find(".confirm_dialog_body").prepend(conf.html_body);
confirm_dialog.find(".confirm_dialog_body").append(conf.html_body);
const yes_button_span = confirm_dialog.find(".confirm_dialog_yes_button span");