summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--askbot/media/js/tag_selector.js6
-rw-r--r--askbot/media/style/style.css5
-rw-r--r--askbot/media/style/style.less11
-rw-r--r--askbot/templates/meta/bottom_scripts.html2
4 files changed, 19 insertions, 5 deletions
diff --git a/askbot/media/js/tag_selector.js b/askbot/media/js/tag_selector.js
index 790acce2..f6e698f3 100644
--- a/askbot/media/js/tag_selector.js
+++ b/askbot/media/js/tag_selector.js
@@ -150,7 +150,7 @@ function pickedTags(){
'remove',
function(){
deleteTagLocally();
- liveSearch.refresh();
+ askbot['controllers']['fullTextSearch'].refresh();
}
);
}
@@ -293,7 +293,7 @@ function pickedTags(){
to_tag_container
);
$(input_sel).val('');
- liveSearch.refresh();
+ askbot['controllers']['fullTextSearch'].refresh();
}
);
}
@@ -348,7 +348,7 @@ function pickedTags(){
filter_value: $(this).val()
},
success: function(){
- liveSearch.refresh();
+ askbot['controllers']['fullTextSearch'].refresh();
}
});
});
diff --git a/askbot/media/style/style.css b/askbot/media/style/style.css
index 7c3f6f68..249b01b5 100644
--- a/askbot/media/style/style.css
+++ b/askbot/media/style/style.css
@@ -522,6 +522,11 @@ input[type="submit"].searchBtn {
.ask-page input[type="submit"].searchBtn {
display: none;
}
+.ask-page .input-tool-tip {
+ color: white;
+ height: 0;
+ z-index: 0;
+}
.searchBtn:hover {
background: -146px -36px url(../images/sprites.png) no-repeat;
}
diff --git a/askbot/media/style/style.less b/askbot/media/style/style.less
index 515e9e57..104e499e 100644
--- a/askbot/media/style/style.less
+++ b/askbot/media/style/style.less
@@ -551,8 +551,15 @@ input[type="submit"].searchBtn {
position: relative;
z-index: 10001;
}
-.ask-page input[type="submit"].searchBtn {
- display: none;
+.ask-page {
+ input[type="submit"].searchBtn {
+ display: none;
+ }
+ .input-tool-tip {
+ color: white;
+ height: 0;
+ z-index: 0;
+ }
}
.searchBtn:hover {
diff --git a/askbot/templates/meta/bottom_scripts.html b/askbot/templates/meta/bottom_scripts.html
index c55760be..4b2bb6f8 100644
--- a/askbot/templates/meta/bottom_scripts.html
+++ b/askbot/templates/meta/bottom_scripts.html
@@ -74,6 +74,8 @@
{% if active_tab in ('questions', 'badges', 'ask') %}
if (searchInput) {
var search = new FullTextSearch();
+ askbot['controllers'] = askbot['controllers'] || {};
+ askbot['controllers']['fullTextSearch'] = search;
{% if search_state %}
search.setSearchUrl('{{ search_state.query_string()|escapejs }}');
{% else %}