diff --git a/dashboard-ui/css/remotecontrol.css b/dashboard-ui/css/remotecontrol.css index 4d0171058..4f8a7d112 100644 --- a/dashboard-ui/css/remotecontrol.css +++ b/dashboard-ui/css/remotecontrol.css @@ -1,4 +1,4 @@ -#remoteControlFlyout { +.remoteControlFlyout { width: 300px; min-height: 400px; } @@ -69,13 +69,13 @@ } @media all and (min-height: 500px) { - #remoteControlFlyout { + .remoteControlFlyout { min-height: 450px; } } @media all and (min-height: 600px) { - #remoteControlFlyout { + .remoteControlFlyout { min-height: 500px; } } @@ -87,19 +87,19 @@ } @media all and (min-width: 400px) { - #remoteControlFlyout { + .remoteControlFlyout { width: 360px; } } @media all and (min-width: 500px) { - #remoteControlFlyout { + .remoteControlFlyout { width: 450px; } } @media all and (min-width: 600px) { - #remoteControlFlyout { + .remoteControlFlyout { width: 550px; } } \ No newline at end of file diff --git a/dashboard-ui/edititemimages.html b/dashboard-ui/edititemimages.html index 3eecd402c..155716d94 100644 --- a/dashboard-ui/edititemimages.html +++ b/dashboard-ui/edititemimages.html @@ -25,10 +25,10 @@
-
-
+
+
';
}
@@ -858,12 +858,12 @@
populateListView($('#listTags', page), item.Tags);
populateListView($('#listKeywords', page), item.Keywords);
- var enableInternetProviders = (item.EnableInternetProviders || false);
- $("#enableInternetProviders", page).attr('checked', !enableInternetProviders).checkboxradio('refresh');
- if (enableInternetProviders) {
- $('#providerSettingsContainer', page).show();
- } else {
+ var lockData = (item.LockData || false);
+ var chkLockData = $("#chkLockData", page).attr('checked', lockData).checkboxradio('refresh');
+ if (chkLockData.checked()) {
$('#providerSettingsContainer', page).hide();
+ } else {
+ $('#providerSettingsContainer', page).show();
}
populateInternetProviderSettings(page, item, item.LockedFields);
@@ -1222,7 +1222,7 @@
OfficialRating: $('#selectOfficialRating', form).val(),
CustomRating: $('#selectCustomRating', form).val(),
People: currentItem.People,
- EnableInternetProviders: !$("#enableInternetProviders", form).prop('checked'),
+ LockData: $("#chkLockData", form).prop('checked'),
LockedFields: $('.selectLockedField', form).map(function () {
var value = $(this).val();
if (value != '') return value;
diff --git a/dashboard-ui/scripts/remotecontrol.js b/dashboard-ui/scripts/remotecontrol.js
index 189121b7e..0a39b3a95 100644
--- a/dashboard-ui/scripts/remotecontrol.js
+++ b/dashboard-ui/scripts/remotecontrol.js
@@ -64,7 +64,7 @@
var item = options.item;
- var html = 'There are currently no available media browser sessions to control.
'); - $('#remoteControlFlyout').popup("reposition", {}); + $('.remoteControlFlyout').popup("reposition", {}); return; } @@ -542,8 +544,6 @@ $('.tdSelectSession', elem).html(''); $('.chkClient:first', elem).checked(true); - - $('#remoteControlFlyout').popup("reposition", { tolerance: 0 }); } function getSessionNowPlayingTime(session) { @@ -642,7 +642,7 @@ function showMenu(sessions, options) { - var html = '