Fix export and username prompt
parent
366e45cac4
commit
32891be320
|
@ -461,7 +461,7 @@ define([
|
|||
opt = opt || {};
|
||||
|
||||
var inputBlock = opt.password ? UI.passwordInput() : dialog.textInput();
|
||||
var input = opt.password ? $(inputBlock).find('input')[0] : inputBlock;
|
||||
var input = $(inputBlock).is('input') ? inputBlock : $(inputBlock).find('input')[0];
|
||||
input.value = typeof(def) === 'string'? def: '';
|
||||
|
||||
var message;
|
||||
|
|
Loading…
Reference in New Issue