From: Yasin Date: Tue, 15 Jul 2014 14:07:09 +0000 (+0200) Subject: slicereq: update commented section X-Git-Tag: myslice-1.0~57^2^2~4 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;ds=sidebyside;h=1b328cf3587f331677e6f400dcbc23998435dd50;p=unfold.git slicereq: update commented section --- diff --git a/portal/templates/onelab/onelab_slicerequest_view.html b/portal/templates/onelab/onelab_slicerequest_view.html index f27307e7..52c84e07 100644 --- a/portal/templates/onelab/onelab_slicerequest_view.html +++ b/portal/templates/onelab/onelab_slicerequest_view.html @@ -61,7 +61,7 @@ jQuery(document).ready(function(){ /*$("#authority_hrn").load("/rest/user/", {"fields" : ["parent_authority"], "filters": {"user_hrn": "{{ user_hrn }}"}}, function(data) { var jsonData = JSON.parse(data); - $(this).attr("value", "{{jsonData}}"); + $(this).attr("value", jsonData[0]['parent_authority']); });*/ $("#authority_hrn").val("{{authority_name}}"); var availableTags = [