From fcaa7e324c88314abd7ef7394d8dd3ac76affccd Mon Sep 17 00:00:00 2001 From: Massimiliano Assante Date: Thu, 19 Jul 2018 13:50:11 +0000 Subject: [PATCH] updated dockbar tooltips and search textbox git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portal/liferay62-plugins/social-dockbar-hook@169849 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../WEB-INF/liferay-plugin-package.properties | 2 +- .../portlet/dockbar/custom_dockbar_view.jspf | 16 ++++++++++++---- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/src/main/webapp/WEB-INF/liferay-plugin-package.properties b/src/main/webapp/WEB-INF/liferay-plugin-package.properties index 3588e7a..0c2e122 100644 --- a/src/main/webapp/WEB-INF/liferay-plugin-package.properties +++ b/src/main/webapp/WEB-INF/liferay-plugin-package.properties @@ -1,6 +1,6 @@ name=social-dockbar-hook module-group-id=liferay -module-incremental-version=5 +module-incremental-version=6 tags= short-description= change-log= diff --git a/src/main/webapp/custom_jsps/html/portlet/dockbar/custom_dockbar_view.jspf b/src/main/webapp/custom_jsps/html/portlet/dockbar/custom_dockbar_view.jspf index 04ecb7b..2475a66 100644 --- a/src/main/webapp/custom_jsps/html/portlet/dockbar/custom_dockbar_view.jspf +++ b/src/main/webapp/custom_jsps/html/portlet/dockbar/custom_dockbar_view.jspf @@ -108,6 +108,11 @@ if (themeDisplay.isSignedIn()) { $('#searchbox-phone').click(function() { $('#searchbox-phone').attr("placeholder", ""); }); + //shows the search textbox + $('#searchIcon').click(function() { + $('#searchbox').show(); + $('#searchIcon').hide(); + }); //search box keyboard handlers $('#searchbox-phone').bind("enterKey",function(e){ @@ -191,12 +196,12 @@ if (themeDisplay.isSignedIn()) {
  • - +
  • +