X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Ffed4fire%2Ffed4fire_home-view.html;h=385f698d80146e040f2fcb090a4bbbec7867d037;hb=1cf51eaae7a6b154305847af2edbe55cbdfaa062;hp=e5ce3f0f79ce8617afde5cba9711caf5d7da0b49;hpb=36a55939d5f370f1ff2b6021796e31edad21d1ff;p=unfold.git diff --git a/portal/templates/fed4fire/fed4fire_home-view.html b/portal/templates/fed4fire/fed4fire_home-view.html index e5ce3f0f..385f698d 100644 --- a/portal/templates/fed4fire/fed4fire_home-view.html +++ b/portal/templates/fed4fire/fed4fire_home-view.html @@ -270,30 +270,7 @@ window.location="/portal/slice_request/"; }); - /* - Launch queries to get the resources and leases in Manifold Cache - */ - - $.post("/rest/resource/", function( data ) { - }); - $.post("/rest/lease/", function( data ) { - }); - - /*------- - List of slices has been moved in - portal/templates/base.html - This is now in localStorage - --------*/ - // myslice.user is in LocalStorage - if(myslice.user.slices.length>0){ - $.each( myslice.user.slices, function(i, val) { - /* - Launch a Query for each slice to get resources and leases in Manifold Cache - */ - $.post("/rest/slice/", { 'filters': { 'slice_hrn' : val } }, function(data) { - }); - }); - } + myslice.loadSlices(); });