mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -07:00
remove jquery from person editor
This commit is contained in:
parent
84e7296363
commit
ffc1d36492
@ -1,4 +1,4 @@
|
||||
define(['dialogHelper', 'jQuery', 'paper-icon-button-light', 'emby-input', 'emby-select'], function (dialogHelper, $) {
|
||||
define(['dialogHelper', 'paper-icon-button-light', 'emby-input', 'emby-select'], function (dialogHelper) {
|
||||
|
||||
return {
|
||||
show: function (person) {
|
||||
@ -28,9 +28,9 @@
|
||||
dlg.innerHTML = html;
|
||||
document.body.appendChild(dlg);
|
||||
|
||||
$('.txtPersonName', dlg).val(person.Name || '');
|
||||
$('.selectPersonType', dlg).val(person.Type || '');
|
||||
$('.txtPersonRole', dlg).val(person.Role || '');
|
||||
dlg.querySelector('.txtPersonName', dlg).value = person.Name || '';
|
||||
dlg.querySelector('.selectPersonType', dlg).value = person.Type || '';
|
||||
dlg.querySelector('.txtPersonRole', dlg).value = person.Role || '';
|
||||
|
||||
dialogHelper.open(dlg);
|
||||
|
||||
@ -52,9 +52,9 @@
|
||||
|
||||
submitted = true;
|
||||
|
||||
person.Name = $('.txtPersonName', dlg).val();
|
||||
person.Type = $('.selectPersonType', dlg).val();
|
||||
person.Role = $('.txtPersonRole', dlg).val() || null;
|
||||
person.Name = dlg.querySelector('.txtPersonName', dlg).value;
|
||||
person.Type = dlg.querySelector('.selectPersonType', dlg).value;
|
||||
person.Role = dlg.querySelector('.txtPersonRole', dlg).value || null;
|
||||
|
||||
dialogHelper.close(dlg);
|
||||
|
||||
|
@ -2194,7 +2194,7 @@
|
||||
"HeaderUnlockSync": "Unlock Emby Sync",
|
||||
"MessageUnlockAppWithPurchaseOrSupporter": "Unlock this feature with a small one-time purchase, or with an active Emby Premiere subscription.",
|
||||
"MessageUnlockAppWithSupporter": "Unlock this feature with an active Emby Premiere subscription.",
|
||||
"MessageToValidateSupporter": "If you have an active Emby Premiere subscription, ensure you've setup Emby Premiere in your Emby Server Dashboard under Help -> Emby Premiere.",
|
||||
"MessageToValidateSupporter": "If you have an active Emby Premiere subscription, ensure you've setup Emby Premiere in your Emby Server Dashboard, which you can access by clicking Emby Premiere within the main menu.",
|
||||
"MessagePaymentServicesUnavailable": "Payment services are currently unavailable. Please try again later.",
|
||||
"MessagePleaseSignInLocalNetwork": "Before proceeding, please ensure that you're connected to your local network using a Wifi or LAN connection.",
|
||||
"ButtonUnlockWithPurchase": "Unlock with Purchase",
|
||||
|
Loading…
Reference in New Issue
Block a user