Commit 993197d0 authored by Keith Downie's avatar Keith Downie

Fixed project picker bug after changing profiles

parent a9afd69f
......@@ -1160,7 +1160,7 @@ $(function ()
$('#profile_pid_picker .dropdown-menu > li').sort(SortProfileList).prependTo($('#profile_pid_picker .dropdown-menu'));
$($('#profile_pid_picker .dropdown-menu a')[0]).click()
$($('#profile_pid_picker .dropdown-menu a')[0]).click();
}
}
......@@ -1863,6 +1863,7 @@ $(function ()
// Moved here to deal with race condition of custer status
// getting built before constraints were finished running
$($('#profile_pid_picker .dropdown-menu a')[0]).click();
CreateClusterStatus();
}
......
......@@ -89,7 +89,6 @@ window.wt = (function() {
}
function ResClickEvent(container, that, target) {
console.log(that);
if ($(that).find('.warning_icon').length) {
if (!$(container).find('.dropdown-toggle > .warning_icon').length) {
$(container).find('.dropdown-toggle').append('<div class="'+$(that).find('.warning_icon').attr('class')+'"></div>');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment