Project

General

Profile

« Previous | Next » 

Revision 3403

Added by Jing Tao over 17 years ago

Fixed bug the keyword search didn't use the path search

View differences:

lib/style/skins/default/include_searchbox.jsp
60 60
      return canSearch;
61 61
    }
62 62
    function keywordSearch(formObj, searchKeyword) {
63
      var searchString = trim(searchKeyword);  
64
      if (searchString=="") searchString="%";
65
      formObj.anyfield.value=searchString;
66
      formObj.submit();
67
      return true;
63

  
64
       var searchString = trim(searchKeyword);
65
  
66
        if (searchString=="") searchString="%";
67
  
68
        formObj.anyfield.value=searchString;
69

  
70
        if(checkSearch(formObj)){
71
             formObj.submit();
72
       }
73
       return true;
68 74
    }
69 75
    function checkSearch(submitFormObj) {
70 76
                var checkBox = document.getElementById("searchAll");

Also available in: Unified diff