Commit 6ee955f9c6cbb794529a6c070979d8b7f13b3a27
Committed by
Luciano Prestes
1 parent
58e8d6c2
Exists in
master
and in
5 other branches
Show software count after catalog ajax
Showing
2 changed files
with
2 additions
and
3 deletions
Show diff stats
public/views/search-software-catalog.js
... | ... | @@ -141,7 +141,7 @@ modulejs.define('SearchSoftwareCatalog', ['jquery', 'NoosferoRoot'], function($, |
141 | 141 | function hide_load_after_ajax() { |
142 | 142 | if ($("#overlay_loading_modal").is(":visible")) { |
143 | 143 | close_loading(); |
144 | - setTimeout(hide_load_after_ajax, 1000); | |
144 | + setTimeout(hide_load_after_ajax, 2000); | |
145 | 145 | } |
146 | 146 | } |
147 | 147 | ... | ... |
views/search/_software_search_form.html.erb
... | ... | @@ -17,10 +17,9 @@ |
17 | 17 | <%= render :partial => 'search_form_extra_fields' %> |
18 | 18 | <%= render :partial => 'catalog_filter' %> |
19 | 19 | |
20 | - <!-- #display-options sera substituido pelo html passado pela equipe de design --> | |
21 | 20 | <div id="catalog-display-options"> |
22 | 21 | <div id="catalog-display-options-count"> |
23 | - <strong><%= "#{@software_count} Software(s)" %> </strong> | |
22 | + <strong id="software-count"><%= "#{@software_count} Software(s)" %></strong> | |
24 | 23 | </div> |
25 | 24 | |
26 | 25 | <div id="catalog-display-options-show-and-sort"> | ... | ... |