X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Fonelab%2Fonelab_slicerequest_view.html;h=c22648234ed6ee61a572022680c12cf5ef4d054c;hb=16a4bf955a76fee81209cd60458745040ed3c711;hp=f27307e71bc6819a8e91469d2a6ea72daad07e72;hpb=0356320d281466159d7aceabd8d61ece92691daa;p=unfold.git
diff --git a/portal/templates/onelab/onelab_slicerequest_view.html b/portal/templates/onelab/onelab_slicerequest_view.html
index f27307e7..c2264823 100644
--- a/portal/templates/onelab/onelab_slicerequest_view.html
+++ b/portal/templates/onelab/onelab_slicerequest_view.html
@@ -13,7 +13,7 @@
{% if errors %}
@@ -61,7 +65,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 = [
@@ -94,6 +98,10 @@ jQuery(document).ready(function(){
minLength: 0,
select: function( event, ui ) {console.log(jQuery(this));}
});
+
+ $("#submit_pi").click(function() {
+ localStorage.clear();
+ });
});
{% endblock %}