Uncheck monitor remote access if remote access diabled on server

This commit is contained in:
JonnyWong16 2016-02-21 17:20:18 -08:00
parent 00b6bf8394
commit 064131c842

View file

@ -1951,6 +1951,7 @@ $(document).ready(function() {
if (data !== 'true') {
$("#remoteAccessCheck").html("Remote access must be enabled on your Plex Server. <a target='_blank' href='${anon_url('https://support.plex.tv/hc/en-us/articles/200484543-Enabling-Remote-Access-for-a-Server')}'>Click here</a> for help.");
$("#monitor_remote_access").attr("disabled", true);
$("#monitor_remote_access").attr("checked", false);
}
}
});