From 67029a86e129c5637acad895ae4491226c1861f9 Mon Sep 17 00:00:00 2001 From: Amam Mustofa Date: Tue, 19 Feb 2019 16:36:15 +0800 Subject: [PATCH] fix minimize error --- src/windows/windows.es6 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/windows/windows.es6 b/src/windows/windows.es6 index 07b5b265c4..06fff30993 100644 --- a/src/windows/windows.es6 +++ b/src/windows/windows.es6 @@ -347,6 +347,8 @@ export const createBlankWindow = function($html,options) { if (dialog.closest('.ui-dialog').css('z-index') > 3000) { dialog.css({ zIndex: dialog.closest('.ui-dialog').css('z-index')*1 - 3000 }); dialog.draggable('option', 'containment', false); + } else { + dialog.css({ zIndex: dialog.closest('.ui-dialog').css('z-index')*1 + 1 }); } });