diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2017-02-07 17:41:32 -0500 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2017-02-07 20:54:47 -0500 |
commit | 7b16c01dab61975cab6a018e6b82be148a10dd2f (patch) | |
tree | 942bfc3b9eebd1e68a7a61d1e0429b8f2cc17168 /app | |
parent | 9659f7bf83ba2ef0824a2e2c7e9eead42cc56d2f (diff) | |
download | gitlab-ce-7b16c01dab61975cab6a018e6b82be148a10dd2f.tar.gz |
Add tests27756-fix-json-404-response
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/filtered_search/filtered_search_manager.js.es6 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/filtered_search/filtered_search_manager.js.es6 b/app/assets/javascripts/filtered_search/filtered_search_manager.js.es6 index bd558a7c2e3..ffc7d29e4c5 100644 --- a/app/assets/javascripts/filtered_search/filtered_search_manager.js.es6 +++ b/app/assets/javascripts/filtered_search/filtered_search_manager.js.es6 @@ -6,7 +6,7 @@ if (this.filteredSearchInput) { this.tokenizer = gl.FilteredSearchTokenizer; - this.dropdownManager = new gl.FilteredSearchDropdownManager(this.filteredSearchInput.getAttribute('data-base-endpoint')); + this.dropdownManager = new gl.FilteredSearchDropdownManager(this.filteredSearchInput.getAttribute('data-base-endpoint') || ''); this.bindEvents(); this.loadSearchParamsFromURL(); |