Opened 17 years ago
Closed 17 years ago
#1959 closed defect (bug) (fixed)
No-ajax search should 'return' not 'return false' [Has-patch]
| Reported by: | rvenable | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.2 |
| Component: | Version: | ||
| Severity: | Keywords: | ||
| Cc: |
Description
In global.js:
j('div.dir-search').click( function(event) {
if ( j(this).hasClass('no-ajax') )
return false;
Return false doesn't allow the search to function as normal even though it has the no-ajax class. I think just a simple return would be better.
Attachments (1)
Change History (3)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
The other no-ajax checks just do a simple return, so they work fine