kopia lustrzana https://github.com/jbruce12000/kiln-controller
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
rodzic
21cf3b6a3e
commit
26f02996c3
|
@ -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) {
|
||||
|
|
Ładowanie…
Reference in New Issue