|
|
|
@ -8,7 +8,6 @@ module.exports = { |
|
|
|
|
return modal('Alert', yo`<div>${title}</div>`, null, { label: null }) |
|
|
|
|
}, |
|
|
|
|
prompt: function (title, text, inputValue, ok, cancel, focus) { |
|
|
|
|
console.log('inside prompt -> 1', title) |
|
|
|
|
return prompt(title, text, false, inputValue, ok, cancel, focus) |
|
|
|
|
}, |
|
|
|
|
promptPassphrase: function (title, text, inputValue, ok, cancel) { |
|
|
|
@ -89,7 +88,6 @@ const validateInput = (e) => { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function prompt (title, text, hidden, inputValue, ok, cancel, focus) { |
|
|
|
|
console.log('inside prompt -> 2', title) |
|
|
|
|
if (!inputValue) inputValue = '' |
|
|
|
|
var type = hidden ? 'password' : 'text' |
|
|
|
|
var input = yo` |
|
|
|
|