Changeset 392 for branches


Ignore:
Timestamp:
02/07/14 09:50:41 (6 years ago)
Author:
jls17
Message:
  • fixed error in replacing search criteria on schema-list-page
  • added letter-filtering-support to the schema-list-page
Location:
branches/work_304
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/work_304/doc/DocMain.cpp

    r390 r392  
    9292        try 
    9393        { 
    94                 strm << "<table><tr>" << endl; 
     94                strm << "<table id='formLetterFilter'><tr>" << endl; 
    9595 
    9696                string strValue = objectNameFirstCharLetters; // "abcdefghijklmnopqrstuvwxyz0123456789#" 
  • branches/work_304/res/object_list.js

    r391 r392  
    1919function filterTable(tableId, appendNextChunk) { 
    2020    var table = $('#' + tableId); 
    21     var search = $('#' + table.data('filterid')).val().replace(" +", " ").replace(" ", ".*"); 
     21    var search = $('#' + table.data('filterid')).val().replace(/ +/g, " ").replace(/ /g, ".*"); 
    2222    var numSearch = search.search("^\\d+$"); 
    2323    var maxMatch = 0 + (table.data('maxresult')); 
     
    127127        $("#execFormFilter").click(); 
    128128    }; 
     129 
     130    $("#formLetterFilter a").click(function() { 
     131        $("#formNameFilter").val("^" + this.innerText); 
     132        $("#execFormFilter").click(); 
     133        return false; 
     134    }); 
    129135}); 
  • branches/work_304/res/style.css

    r386 r392  
    436436    border: 1px solid silver; padding: 5px; 
    437437} 
     438 
     439td.warn { 
     440        background-color: #efefef; 
     441} 
Note: See TracChangeset for help on using the changeset viewer.