Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

Document Search Reset button not working in IE
(1 viewing) (1) Guest
Document management system (DMS) component for Joomla!

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1
  • 2

TOPIC: Document Search Reset button not working in IE

Document Search Reset button not working in IE 12 years, 2 months ago #33577

Using: Joomla 2.5.7 / JoomDoc 3.4.1 Pro

If a user has IE 7 or IE 8, and does a Document Search, then clicks the Reset, the search fields clear, but the results continue to display. They cannot get back to the normal view were they can browse through folders. I have a menu option that should take you back to the top of the JoomDOC tree, but it also displays the search results. If I close IE and reopen it works fine until you do another search.

I've only had problems on IE 7 on a WIndows 2003 RDP server and IE 8 on a Windows 2008 RDP server, I haven't tried IE 9. I also haven't tested it from a Windows desktop OS yet. However my users will be accessing this page on the RDP servers, so I need to try and find a solution. Firefox on Ubuntu and Google Chrome on Windows works fine.

Thank you,

Chris
The topic has been locked.

Re: Document Search Reset button not working in IE 12 years, 2 months ago #33592

  • maju
  • OFFLINE
  • Posts: 1107
Hello,

We have same problem on our demo site but it is not problem only for IE browsers. If you close search filter and then click on any category it works without filter. Problem is that if you reset it and search filter is still open, you will always get search result.

If you want fast solution, you can add script to reset button which will close the filter.
We will look on it and try to modify its functionality for next version.
ARTIO Support Team
The topic has been locked.

Re: Document Search Reset button not working in IE 12 years, 2 months ago #33605

What folder and file is the reset button in?

Do you have a script you can share?

Thanks!
The topic has been locked.

Re: Document Search Reset button not working in IE 12 years, 2 months ago #33609

Please all you share here for user's. plz clearly share this. thanks
The topic has been locked.

Re: Document Search Reset button not working in IE 12 years, 2 months ago #33635

  • maju
  • OFFLINE
  • Posts: 1107
Ok, but it is only fast solution, you can modify components/com_joomdoc/assets/js/script.js

There is function resetSubmit. Add at the end of it 1 line: JoomDOC.setSearchTools('0');
So it will look this way:

/**
* Reset search form.
*/
resetSubmit : function() {
document.getElementById('joomdoc_keywords').value = '';
document.getElementById('joomdoc_parent').value = '';
document.getElementById('joomdoc_area_title').checked = true;
document.getElementById('joomdoc_area_text').checked = true;
document.getElementById('joomdoc_area_meta').checked = false;
document.getElementById('joomdoc_area_full').checked = false;
document.getElementById('joomdoc_type').value = '';
document.getElementById('joomdoc_ordering').value = '';
document.getElementById('joomdoc_search').value = 0;
JoomDOC.setSearchTools('0');
},

Final solution will be different.
ARTIO Support Team
The topic has been locked.

Re: Document Search Reset button not working in IE 12 years, 2 months ago #33640

Thanks for the info Maju! Unfortunately it didn't fix the problem. It does work to collapse/close the document search, but my results still did not reset to show me the original folders. Here's what I did:

1. Clicked a link that brought up the JoomDOC module and showed me the top level of folders.
2. Opened search and did a search, the folders were replaced with the result of the search.
3. Clicked Reset on the search. The fields cleared and the search collapsed, but the results remained. It did not reset back to my top level folders.
4. I re-opened the search and found keywords field was still populated.

I am positive that when I clicked the reset the Keywords field did go blank. It's like IE has the keywords saved somewhere and even though you delete the keyword from the screen, IE doesn't really see it as gone. Maybe something in how it caches or refreshes the page?

The document search works perfectly on Ubuntu v12.10 using Firefox. It just appears to be an IE or Windows problem.
The topic has been locked.
  • Page:
  • 1
  • 2
User Login Empty