summaryrefslogtreecommitdiff
path: root/kvmd/web/js/hid.js
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-08-27 14:48:44 +0300
committerDevaev Maxim <[email protected]>2018-08-27 14:48:44 +0300
commit8aee773c1c355e0eea05938ec179e0ce8bef1dd9 (patch)
tree85ff8069e07defacba680c9a120e27f9e0a7cb02 /kvmd/web/js/hid.js
parent9a243eaa0402aebc61cd7a247a04b57bd8ec0ad3 (diff)
modal dialog processing like a window
Diffstat (limited to 'kvmd/web/js/hid.js')
-rw-r--r--kvmd/web/js/hid.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/web/js/hid.js b/kvmd/web/js/hid.js
index 50bbd5e7..09c67d98 100644
--- a/kvmd/web/js/hid.js
+++ b/kvmd/web/js/hid.js
@@ -148,11 +148,11 @@ function Hid() {
var confirm_msg = (
"You are going to automatically type " + codes_count
+ " characters from the system clipboard."
- + "It will take " + (__codes_delay * codes_count * 2 / 1000) + " seconds.<br>"
+ + " It will take " + (__codes_delay * codes_count * 2 / 1000) + " seconds.<br>"
+ "<br>Are you sure you want to continue?<br>"
);
- modal.confirm(confirm_msg).then(function(ok) {
+ ui.confirm(confirm_msg).then(function(ok) {
if (ok) {
$("pak-button").disabled = true;
$("pak-led").className = "led-pak-typing";