Explorar el Código

[IMP] alert update

Gogs hace 7 años
padre
commit
6bd00ee1cf
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      static/src/js/main.js

+ 4 - 0
static/src/js/main.js

@@ -200,6 +200,10 @@
             return;
         }
 
+        if(!confirm('Ésta acción quitará la impresora por defecto')) {
+            return;
+        }
+
         instance.print_engine.socket_manager.discoveryPrinters();
     }