From: <hs...@us...> - 2011-05-20 14:19:53
|
Revision: 880 http://treebase.svn.sourceforge.net/treebase/?rev=880&view=rev Author: hshyket Date: 2011-05-20 14:19:47 +0000 (Fri, 20 May 2011) Log Message: ----------- Making it so that any action that calls doAction in Javascript removes the URL parameters Modified Paths: -------------- trunk/treebase-web/src/main/webapp/WEB-INF/pages/search/searchResultsList.jsp Modified: trunk/treebase-web/src/main/webapp/WEB-INF/pages/search/searchResultsList.jsp =================================================================== --- trunk/treebase-web/src/main/webapp/WEB-INF/pages/search/searchResultsList.jsp 2011-05-20 14:08:08 UTC (rev 879) +++ trunk/treebase-web/src/main/webapp/WEB-INF/pages/search/searchResultsList.jsp 2011-05-20 14:19:47 UTC (rev 880) @@ -45,7 +45,7 @@ <script type="text/javascript"> function doAction(action) { $('action').value = action; - if (!(location.search == "") && action == 'discardResults') + if (!(location.search == "")) { var url = location.href; var url_parts = url.split('?'); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |