Changeset 12223 for trunk/cic-hcap
- Timestamp:
- 2006-07-13T19:48:54+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cic-hcap/macros/extra.dm
r12222 r12223 1160 1160 if (abqv_value != "") \{ 1161 1161 var combiner = "&"; 1162 if ( document.AdvancedBibliographyQueryForm.abqc[i].value == "or") \{1162 if (i < (document.AdvancedBibliographyQueryForm.abqv.length - 1) && document.AdvancedBibliographyQueryForm.abqc[i].value == "or") \{ 1163 1163 combiner = "|"; 1164 1164 \} … … 1166 1166 abqv_value = '"' + abqv_value + '"'; 1167 1167 \} 1168 addQueryTerm(document.AdvancedBibliographyQueryForm.q, "[" + abqv_value + "]:" + document.AdvancedBibliographyQueryForm.a qi[i].value, combiner);1168 addQueryTerm(document.AdvancedBibliographyQueryForm.q, "[" + abqv_value + "]:" + document.AdvancedBibliographyQueryForm.abqi[i].value, combiner); 1169 1169 \} 1170 1170 \} 1171 1171 1172 // Remove the trailing combiner 1173 document.AdvancedBibliographyQueryForm.q.value = removeFromEnd(document.AdvancedBibliographyQueryForm.q.value, " & "); 1174 document.AdvancedBibliographyQueryForm.q.value = removeFromEnd(document.AdvancedBibliographyQueryForm.q.value, " | "); 1172 1175 alert(document.AdvancedBibliographyQueryForm.q.value); 1173 1176 \} … … 1195 1198 <option value="or">or</option> 1196 1199 </select> 1200 </nobr> 1201 </td> 1202 </tr> 1203 } 1204 1205 _cicabqlinenocombiner_ { 1206 <tr> 1207 <td> 1208 <nobr> 1209 <select name="abqi" onChange="prepareAdvancedBibliographySearch();"> 1210 <option value="RE">General keyword</option> 1211 <option value="RR">Author keyword</option> 1212 <option value="RF">Title keyword</option> 1213 </select> 1214 1215 <select name="abqp" onChange="prepareAdvancedBibliographySearch();"> 1216 <option value='0'>contains</option> 1217 <option value='1'>is</option> 1218 </select> 1219 1220 <input name='abqv' type='text' style='width: 450px'/> 1197 1221 </nobr> 1198 1222 </td> … … 1242 1266 _cicabqline_ 1243 1267 _cicabqline_ 1244 _cicabqline _1268 _cicabqlinenocombiner_ 1245 1269 1246 1270 <tr>
Note:
See TracChangeset
for help on using the changeset viewer.