Added ability to show currently selected profile

Added the ability for the web app to show the currently selected profile
upon browser load.  Previously the application was showing the wrong
profile when loading a new client during a run, and backlog information
was shown on top of the incorrect graph.
pull/1/head
sbman 2015-07-01 17:37:03 -07:00
rodzic 21cf3b6a3e
commit 26f02996c3
1 zmienionych plików z 5 dodań i 0 usunięć

Wyświetl plik

@ -426,6 +426,11 @@ $(document).ready(function()
if (x.profile)
{
selected_profile_name = x.profile.name;
$.each(profiles, function(i,v) {
if(v.name == x.profile.name) {
updateProfile(i);
$('#e2').select2('val', i);
});
}
$.each(x.log, function(i,v) {