Changeset 2343


Ignore:
Timestamp:
11/09/12 17:42:19 (12 years ago)
Author:
mwindhouwer
Message:

M WSViewer.js

  • deselect the previously selected folder when a search result is shown
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cats/ISOcat/trunk/mod-ISOcat-interface-gi/interface/JSXAPPS/ISOcat/js/org/isocat/gui/WSViewer.js

    r2288 r2343  
    153153
    154154        WSViewer_prototype.deselect = function() {
    155                 this.viewer.deselectAllRecords();
     155                this.viewer.setValue(null);
    156156        };
    157157
     
    268268                        val = val.replace(/\s+$/,'');
    269269                        if (val != '') {
     270                                this.deselect();
    270271                                org.isocat.showSearchResult(new org.isocat.data.Search(val,this.getOptions()));
    271272                        }
Note: See TracChangeset for help on using the changeset viewer.