diff --git a/dashboard-ui/components/metadataeditor/personeditor.js b/dashboard-ui/components/metadataeditor/personeditor.js index 798a6db2ee..fa32e8a3f3 100644 --- a/dashboard-ui/components/metadataeditor/personeditor.js +++ b/dashboard-ui/components/metadataeditor/personeditor.js @@ -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); diff --git a/dashboard-ui/strings/en-US.json b/dashboard-ui/strings/en-US.json index ad3e5df84d..9cc23cc052 100644 --- a/dashboard-ui/strings/en-US.json +++ b/dashboard-ui/strings/en-US.json @@ -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",