Skip to content
Snippets Groups Projects
Commit 3d137eb4 authored by juanf's avatar juanf
Browse files

SSDM-3501 : Search Bugfixes

SVN: 37971
parent 87627a46
No related branches found
No related tags found
No related merge requests found
...@@ -17,11 +17,6 @@ ...@@ -17,11 +17,6 @@
/* /*
* General Overrides * General Overrides
*/ */
.form-panel-one,
.form-panel-two {
overflow-y : auto;
overflow-x : hidden;
}
.table { .table {
table-layout:fixed; table-layout:fixed;
...@@ -236,7 +231,7 @@ body, ...@@ -236,7 +231,7 @@ body,
padding-left: 5px; padding-left: 5px;
} }
.navbar-form .search-query { .search-query {
padding-left: 30px; padding-left: 30px;
background-image: url(../img/search-icon.png); background-image: url(../img/search-icon.png);
background-repeat: no-repeat; background-repeat: no-repeat;
...@@ -247,7 +242,8 @@ body, ...@@ -247,7 +242,8 @@ body,
.search-query-searching { .search-query-searching {
background-image: url(../img/search-spinner.gif) !important; background-image: url(../img/search-spinner.gif) !important;
background-position: 12px 5px !important; background-position: 95% 50% !important;
background-repeat: no-repeat;
} }
.ui-fancytree, .ui-fancytree,
......
...@@ -837,6 +837,7 @@ function MainController(profile) { ...@@ -837,6 +837,7 @@ function MainController(profile) {
var newView = null; var newView = null;
if(freeText) { if(freeText) {
$("#search").addClass("search-query-searching");
newView = new AdvancedSearchController(this, freeText); newView = new AdvancedSearchController(this, freeText);
} else { } else {
newView = new AdvancedSearchController(this); newView = new AdvancedSearchController(this);
......
...@@ -92,6 +92,7 @@ function AdvancedSearchController(mainController, forceSearch) { ...@@ -92,6 +92,7 @@ function AdvancedSearchController(mainController, forceSearch) {
objects : dataList, objects : dataList,
totalCount : results.totalCount totalCount : results.totalCount
}); });
$("#search").removeClass("search-query-searching");
} }
var fetchOptions = {}; var fetchOptions = {};
......
...@@ -47,8 +47,8 @@ function SideMenuWidgetView(sideMenuWidgetController, sideMenuWidgetModel) { ...@@ -47,8 +47,8 @@ function SideMenuWidgetView(sideMenuWidgetController, sideMenuWidgetModel) {
var searchDomainLabel = null; var searchDomainLabel = null;
if(domainIndex) { if(domainIndex) {
searchDomain = profile.getSearchDomains()[searchDomain].name; searchDomain = profile.getSearchDomains()[domainIndex].name;
searchDomainLabel = profile.getSearchDomains()[searchDomain].label; searchDomainLabel = profile.getSearchDomains()[domainIndex].label;
} else { } else {
searchDomain = profile.getSearchDomains()[0].name; searchDomain = profile.getSearchDomains()[0].name;
searchDomainLabel = profile.getSearchDomains()[0].label; searchDomainLabel = profile.getSearchDomains()[0].label;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment