From c17a3781bf8284cf85fcb0264003cbea51aebf6c Mon Sep 17 00:00:00 2001 From: Loic Baron Date: Mon, 5 Jan 2015 15:18:39 +0100 Subject: [PATCH] Update is not using the loop per platform in JS, we don't manage partial answers in the Web yet... --- manifoldapi/static/js/manifold.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/manifoldapi/static/js/manifold.js b/manifoldapi/static/js/manifold.js index 49098f91..c880831f 100644 --- a/manifoldapi/static/js/manifold.js +++ b/manifoldapi/static/js/manifold.js @@ -976,9 +976,10 @@ var manifold = { /* If the Query object concerns SFA AM objects, iterate on each AM platform - This allows a progressive loading per AM platform + Loop per platform, allows a progressive loading per AM platform + Update is run on all platforms at the same time to get a final answer, we don't manage partial answers yet... */ - if(query.object == 'resource' || query.object == 'lease' || query.object == 'slice'){ + if((query.object == 'resource' || query.object == 'lease' || query.object == 'slice') && query.action != "update"){ var obj = query.object; $.post("/rest/platform/", function( data ) { $.each(data, function(index, p) { -- 2.43.0