Ver Fonte

pda-client bug fix

lizw há 3 anos atrás
pai
commit
f03647bc0a
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/Scope.ts

+ 1 - 1
src/Scope.ts

@@ -227,7 +227,7 @@ export class Scope {
             }
         }
         Ext.Viewport.add(that._handle)
-        if ((window as any).mainWindow === that) {
+        if ((window as any).mainWindow === that || (window as any).loginWindow === that) {
             Scope.SHOW_PAGE_STACK.length = 0
         }
         that._handle.setStyle({'z-index': 1})