X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Fbase.html;h=9bc52dd1264ed28f021eb0382d64c1df2e3ccc2a;hb=7bd68468a99af3699d2565447bb067f0d9708f75;hp=df8fd9c12773e06d962e484ad48f4e637b5b9fda;hpb=36a55939d5f370f1ff2b6021796e31edad21d1ff;p=myslice.git diff --git a/portal/templates/base.html b/portal/templates/base.html index df8fd9c1..9bc52dd1 100644 --- a/portal/templates/base.html +++ b/portal/templates/base.html @@ -74,22 +74,17 @@ $(document).ready(function() { Launch queries to get the resources and leases in Manifold Cache */ - $.post("/rest/resource/", function( data ) { - }); - $.post("/rest/lease/", function( data ) { - }); - - function drawSlices(slices){ var items = []; $.each( slices, function(i, val) { items.push( "
  • " + val + "
  • " ); /* - Launch a Query for each slice to get resources and leases in Manifold Cache - */ + // Launch a Query for each slice to get resources and leases in Manifold Cache + // Now only done in Homeview to speed up the other pages $.post("/rest/slice/", { 'filters': { 'slice_hrn' : val } }, function(data) { }); + */ }); $("div#home-slice-list").html($( "