fix z-index of notification

This commit is contained in:
azivner 2018-11-22 21:19:12 +01:00
parent d82898421e
commit 0d3bc22d73
2 changed files with 3 additions and 5 deletions

View file

@ -28,11 +28,9 @@ function showError(message, delay = 10000) {
function getNotifySettings(type, delay) {
return {
element: (glob.activeDialog && glob.activeDialog.hasClass("show"))
? glob.activeDialog.find('.modal-header')[0]
: 'body',
element: 'body',
type: type,
z_index: 1031,
z_index: 90000,
placement: {
from: "top",
align: "center"

View file

@ -57,7 +57,7 @@ async function setupProtectedSession() {
const response = await enterProtectedSessionOnServer(password);
if (!response.success) {
infoService.showError("Wrong password.");
infoService.showError("Wrong password.", 3000);
return;
}