Feature #14038
Hide the search button by AJAX
| Status: | Resolved | Start date: | 2011-03-25 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | 2011-05-19 | |
| Assignee: | Frank Sander | % Done: | 100% |
|
| Category: | AJAX | Spent time: | 2.00 hours | |
| Target version: | 3.7.9 | Estimated time: | 2.00 hours | |
| Votes: | 0 |
Description
Dear Frank,
I have a feature request.
- I don't need a search field, I removed it in the HTML form
- I need the search button in case, AJAX isn't activated
- I don't need the search button in case, AJAX is activated.
Would you extend the Browser AJAX with the ability / property / possibility, to hide the search button in case of AJAX. I would extend the plugin/flexform, if it is needed.
Thanks
Dirk
History
Updated by Frank Sander about 2 years ago
- File tx_browser_pi1_ajax.js added
- Status changed from New to Accepted
- % Done changed from 0 to 50
Hi Dirk,
that's a good idea. And it's of quite low effort, so I made it immediately. Please find the changed script attached.
After a little thinking, I decided to use a new css trigger class for this behaviour. (We don't want to ruin somebody's layout when updating.) So you'll have to extend the flexform and add the css class hidesubmit to our surrounding div object for trigger classes.
Cheers,
Frank
Updated by Dirk Wildt about 2 years ago
- Target version changed from 4.0.0 to 3.7.1
Updated by Dirk Wildt almost 2 years ago
- Target version changed from 3.7.1 to 3.7.8
Updated by Dirk Wildt about 1 year ago
- Target version changed from 3.7.8 to 3.7.9
Updated by Dirk Wildt 6 months ago
- Due date set to 2011-05-19
- Status changed from Accepted to Resolved
- % Done changed from 50 to 100
- Estimated time set to 2.00