Changeset 4813


Ignore:
Timestamp:
2003-06-25T15:59:19+12:00 (21 years ago)
Author:
kjdon
Message:

small chages for form search

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/macros/query.dm

    r4789 r4813  
    149149    if (value != "_cgiargt_") stdarg += "&t="+value;
    150150
    151     stdarg += "&r=1&hs=1"; // &h=idx    
     151    stdarg += "&r=1&hs=1";    
    152152    return stdarg;
    153153  \}
     
    155155}
    156156
    157 #h will always be the same now
    158 #some macros to go with getstdargs()
    159 #_getharg_{
    160 #    value = document.QueryForm.h.options[document.QueryForm.h.selectedIndex].value;
    161 #    if (value != "_cgiargh_") stdarg += "&h="+value;
    162 #}
    163 
    164157_getgarg_{
     158    if (document.QueryForm.g!= null) \{
    165159    value = document.QueryForm.g.options[document.QueryForm.g.selectedIndex].value;
    166160    if (value != "_cgiargg_") stdarg += "&g="+value;
     161  \}
    167162}
    168163
Note: See TracChangeset for help on using the changeset viewer.