Skip to content

Commit

Permalink
Widgets: made autocomplete require only 1 char
Browse files Browse the repository at this point in the history
  • Loading branch information
romanchyla committed Jul 30, 2015
1 parent adaaddd commit 75fd72a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/js/widgets/form_accordion/widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ define([
},

onRender : function(e){
this.$("#pub-input").autocomplete({ source : AutocompleteData, minLength : 2 , autoFocus : true });
this.$("#pub-input").autocomplete({ source : AutocompleteData, minLength : 1 , autoFocus : true });
},

checkDisabled : function(){
Expand Down
5 changes: 1 addition & 4 deletions src/styles/less/ads-less/accordion_form.less
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,7 @@
}

button.btn-link {
float: right;
position: relative;
top: -10px;
height:0;
padding:0;
}

}
Expand Down

0 comments on commit 75fd72a

Please sign in to comment.