First of all: Thank you for your time. Thanks for trying to help us making jDownloads a better component. It's very much appreciated!
================================================
THIS BUGTRACKER IS CLOSED!!!
THIS BUGTRACKER IS CLOSED!!!
THIS BUGTRACKER IS CLOSED!!!
================================================
So it is not possible to add new task here.
Please use the support forum when you will do this.
We hope we can go online with a new bugtracker site in the next weeks - we work on it.
Many thanks.
================================================
THIS BUGTRACKER IS CLOSED!!!
THIS BUGTRACKER IS CLOSED!!!
THIS BUGTRACKER IS CLOSED!!!
================================================
So it is not possible to add new task here.
Please use the support forum when you will do this.
We hope we can go online with a new bugtracker site in the next weeks - we work on it.
Many thanks.
FS#28 - Search form submission
Attached to Project:
jDownloads
Opened by Anonymous Submitter - Sunday, 02 January 2011, 20:46 GMT+2
Last edited by Administrator (admin) - Wednesday, 12 January 2011, 18:08 GMT+2
Opened by Anonymous Submitter - Sunday, 02 January 2011, 20:46 GMT+2
Last edited by Administrator (admin) - Wednesday, 12 January 2011, 18:08 GMT+2
|
DetailsVersion 1.7.6
When an empty or shorter than 3 symbols string is submitted via the search form. 1 --> Database Query is issued 2 --> Page with the results is been generated 3 --> javascript redirection 4 --> Again a page has to be generated. Who needs this? Here is the fix I did to avoid Steps 1, 2, 3! in jdownloads.html.php`> function showSearchResult($option){ if (strlen($searchtext) < 3){ //NK & Co. $mainframe->redirect(JRoute::_('index.php?option=com_jdownloads&view=search')); /* Commented just to show where it was. echo "<script> alert('".JText::_('JLIST_FRONTEND_SEARCH_RESULT_TEXT_TO_SHORT')."'); window.history.go(-1); </script>\n"; */ } ////////// Also there is a need of an little javascript check to avoid the form submission from happening. |
This task depends upon
Closed by Administrator (admin)
Wednesday, 12 January 2011, 18:08 GMT+2
Reason for closing: Implemented
Wednesday, 12 January 2011, 18:08 GMT+2
Reason for closing: Implemented
But i will change it with a little javascript code.
Thanks.