From: Loic Baron Date: Wed, 15 Apr 2015 15:27:10 +0000 (+0200) Subject: Create Slice: Load list of projects min length 0 X-Git-Tag: myslice-1.3~37^2~14^2~3 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=643e4c71ce503e4a208741150ddee1113ea11925;hp=6d5518acae37a91bc4eaec999fc8b5634cbdacd7;p=myslice.git Create Slice: Load list of projects min length 0 --- diff --git a/portal/templates/fed4fire/fed4fire_slicerequest_view.html b/portal/templates/fed4fire/fed4fire_slicerequest_view.html index 729616db..15fad97c 100644 --- a/portal/templates/fed4fire/fed4fire_slicerequest_view.html +++ b/portal/templates/fed4fire/fed4fire_slicerequest_view.html @@ -55,6 +55,7 @@ jQuery(document).ready(function(){ var myprojects = JSON.parse(localStorage.getItem('projects')); $( "#authority_hrn" ).autocomplete({ + minLength: 0, source: myprojects, change: function (event, ui) { if(!ui.item){