mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
fix prompt
This commit is contained in:
parent
47e35cc5dc
commit
8f88fb9a3b
@ -2,8 +2,13 @@ define(['dialogHelper', 'layoutManager', 'scrollHelper', 'globalize', 'dom', 're
|
||||
|
||||
function setInputProperties(dlg, options) {
|
||||
var txtInput = dlg.querySelector('#txtInput');
|
||||
|
||||
if (txtInput.label) {
|
||||
txtInput.label(options.label || '');
|
||||
} else {
|
||||
txtInput.setAttribute('label', options.label || '');
|
||||
}
|
||||
txtInput.value = options.value || '';
|
||||
txtInput.label(options.label || '');
|
||||
}
|
||||
|
||||
function showDialog(options, template) {
|
||||
|
Loading…
Reference in New Issue
Block a user