|
Lines 81-88
Link Here
|
| 81 |
</optgroup> |
81 |
</optgroup> |
| 82 |
[% END %] |
82 |
[% END %] |
| 83 |
</select> |
83 |
</select> |
|
|
84 |
[% IF params.exists('op') %] |
| 85 |
<select name="op" class="form-field-not"> |
| 86 |
<option value="like">is</option> |
| 87 |
[% IF params.op == '!=' %] |
| 88 |
<option value="!=" selected="selected">is not</option> |
| 89 |
[% ELSE %] |
| 90 |
<option value="!=">is not</option> |
| 91 |
[% END %] |
| 92 |
</select> |
| 93 |
[% ELSE %] |
| 94 |
<select name="op" class="form-field-not"> |
| 95 |
<option value="like">is</option> |
| 96 |
<option value="!=">is not</option> |
| 97 |
</select> |
| 98 |
[% END %] |
| 84 |
<input type="text" name="q" class="form-field-value" value="" /> |
99 |
<input type="text" name="q" class="form-field-value" value="" /> |
| 85 |
<input type="hidden" name="op" value="like" /> |
|
|
| 86 |
</div> |
100 |
</div> |
| 87 |
[% END %] |
101 |
[% END %] |
| 88 |
|
102 |
|
|
Lines 441-447
Link Here
|
| 441 |
form_field.append(button_field_new); |
455 |
form_field.append(button_field_new); |
| 442 |
|
456 |
|
| 443 |
// If a field is linked to an authorised values list, display the list. |
457 |
// If a field is linked to an authorised values list, display the list. |
| 444 |
$('div.form-field-select-text select[name="f"]').change(function() { |
458 |
$('div.form-field-select-text select.form-field-column').change(function() { |
| 445 |
loadAuthorisedValuesSelect($(this)); |
459 |
loadAuthorisedValuesSelect($(this)); |
| 446 |
}).change(); |
460 |
}).change(); |
| 447 |
|
461 |
|
| 448 |
- |
|
|