Fix buggy behaviour if user sets friendly name as blank.

Hide "clear logs" button when viewing PMS logs (it has no impact on those).
Start major clean up of classes.
Initial work to allow SSL communication to Plex servers.
This commit is contained in:
Tim 2015-07-04 23:18:06 +02:00
commit e1e3659eb3
6 changed files with 202 additions and 242 deletions

View file

@ -47,7 +47,9 @@ DOCUMENTATION :: END
async: true,
success: function(data) {
$("#edit-user-status-message").html(data);
$(".set-username").html(friendly_name);
if ($.trim(friendly_name) !== '') {
$(".set-username").html(friendly_name);
}
}
});
});