Commit fd273e3e authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Temporary fix, until Jacks sends the vhosts into the trigger function.

I have to search the DOM instead.
parent f2153d32
......@@ -2174,12 +2174,15 @@ $(function ()
jacksOutput = output;
jacksOutput.on('modified-topology', function (object) {
//console.log(object);
_.each(object.nodes, function (node) {
jacksIDs[node.client_id] = node.id;
});
//console.log("jacksIDs");
console.log(jacksIDs);
// Temporary.
$('.hostlabelgroup').each(function() {
jacksIDs[$(this).find('.hosttext').text()] =
$(this).attr("id");
});
//console.log("jacksIDs", object, jacksIDs);
ShowManifest(object.rspec);
});
......
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