X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=portal%2Ftemplates%2Fslice-tab-users-view.html;h=d64fdee8ed92fb3e0d0d06452403ece0ac160755;hb=f9f56dddbbfcc2e3a798e0f8920441b69264dc17;hp=29a4f57e43513d2a5c709dc657240cfddd5e09e3;hpb=b0773f0d25acb85176f11ac2f91ee25baecea20d;p=unfold.git diff --git a/portal/templates/slice-tab-users-view.html b/portal/templates/slice-tab-users-view.html index 29a4f57e..d64fdee8 100644 --- a/portal/templates/slice-tab-users-view.html +++ b/portal/templates/slice-tab-users-view.html @@ -9,7 +9,7 @@ var slice_users_removed = []; var slice_users_emails = []; var slice_users_emails_removed = []; - $.post("/rest/user/",{'filters':{'parent_authority': authority_hrn}}, function( data ) { + $.post("/rest/myslice:user/",{'filters':{'parent_authority': authority_hrn}}, function( data ) { var list_users = []; var table_users = []; /* Available fields @@ -68,7 +68,7 @@ }); // post rest/use $('button#addusers').click(function() { - $.post("/update/slice/",{'filters':{'slice_hrn':'{{slice}}'},'params':{'users':slice_users}}, function(data) { + $.post("/update/myslice:slice/",{'filters':{'slice_hrn':'{{slice}}'},'params':{'users':slice_users}}, function(data) { if(data.success){ // TODO: highlight row after success //$('tr[id="'+record_id+'"]').highlight(); @@ -87,7 +87,7 @@ $(document).ready(function() { // TODO: Add a filter based on the list of authorities - $.post("/rest/authority/",{'fields':['authority_hrn']}, function( data ) { + $.post("/rest/myslice:authority/",{'fields':['authority_hrn']}, function( data ) { var list_authorities = []; $.each( data, function( key, val ) { auth_hrn = val.authority_hrn; @@ -138,9 +138,6 @@