Changeset 12141


Ignore:
Timestamp:
2006-07-11T15:19:42+12:00 (18 years ago)
Author:
mdewsnip
Message:

Added a "no documents matched the query" string to the "search institutions by state" results page if no states were selected.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cic-hcap/macros/extra.dm

    r12137 r12141  
    972972      \}
    973973
    974       document.getElementById("stq_results").innerHTML = stq_results;
     974      if (stq_results != "") \{
     975         stq_results = '<table cellpadding="0" cellspacing="0" width="_pagewidth_">' + stq_results + '</table>';
     976         document.getElementById("stq_results").innerHTML = stq_results;
     977      \}
     978      else \{
     979         document.getElementById("stq_results").innerHTML = "<p>_textnodocs_</p>";
     980      \}
    975981   \}
    976982\}
     
    10541060<div class="cicheading">Search Results</div>
    10551061
    1056 <table cellpadding="0" cellspacing="0" id="stq_results" width="_pagewidth_">
    1057 </table>
     1062<div id="stq_results"></div>
    10581063}
    10591064
Note: See TracChangeset for help on using the changeset viewer.