t80: фикс раскрытия фильтров в поиске

remotes/origin/t79_search_places_modal
Slava Kyrachevsky 9 years ago
parent ab1887a16e
commit b8e2ccfe26
  1. 4
      static/client/js/_modules/block.search.js
  2. 2
      static/client/js_min/_modules/block.search.min.js
  3. 12
      templates/client/accounts/feed.html

@ -19,11 +19,11 @@ if (EXPO.searchBlock){
place:{
id:'pw-place',
selectedItemTemplate:'csb-selected',
ajaxUrl:'http://hit.expomap.ru/search-form/'
ajaxUrl: window.location.protocol + '//hit.expomap.ru/search-form/'
},
subject:{
id:'pw-subj',
ajaxUrl:'http://hit.expomap.ru/search-form/'
ajaxUrl: window.location.protocol + '//hit.expomap.ru/search-form/'
}
};
that.lang ={};

File diff suppressed because one or more lines are too long

@ -105,9 +105,9 @@
place: {
id: 'filter-pwPlace',
selectedItemTemplate: 'filter-csb-selected',
ajaxUrl: 'http://{{ request.get_host }}/search-form/',
autoCompleteUrl: 'http://{{ request.get_host }}/search-form/autocomplete/',
getParentUrl: 'http://{{ request.get_host }}/search-form/get-parent/',
ajaxUrl: window.location.protocol + '//{{ request.get_host }}/search-form/',
autoCompleteUrl: window.location.protocol + '//{{ request.get_host }}/search-form/autocomplete/',
getParentUrl: window.location.protocol + '//{{ request.get_host }}/search-form/get-parent/',
autoCompleteId: 'filter-place-complete-block',
filterInputId: 'filter-place-filter-input',
modalTrigger: 'filter-place-modal-trigger',
@ -126,11 +126,11 @@
id: 'filter-pwSubj',
selectedItemTemplate: 'filter-subj-selected',
autoCompleteId: 'filter-subj-complete-block',
ajaxUrl: 'http://{{ request.get_host }}/search-form/',
autoCompleteUrl: 'http://{{ request.get_host }}/search-form/autocomplete/',
ajaxUrl: window.location.protocol + '//{{ request.get_host }}/search-form/',
autoCompleteUrl: window.location.protocol + '//{{ request.get_host }}/search-form/autocomplete/',
filterInputId: 'filter-subj-fliter-input',
modalTrigger: 'fiter-subj-modal-trigger',
getParentUrl: 'http://{{ request.get_host }}/search-form/get-parent/',
getParentUrl: window.location.protocol + '//{{ request.get_host }}/search-form/get-parent/',
selectedItemsContainer: 'filter-csb-subj-selected-items',
subjectTriggerWrapId: 'filter-subj-checks',
//switched by default

Loading…
Cancel
Save