|
Lines 83-90
Link Here
|
| 83 |
</optgroup> |
83 |
</optgroup> |
| 84 |
[% END %] |
84 |
[% END %] |
| 85 |
</select> |
85 |
</select> |
|
|
86 |
[% IF params.exists('op') %] |
| 87 |
<select name="op" class="form-field-not"> |
| 88 |
<option value="like">is</option> |
| 89 |
[% IF params.op == '!=' %] |
| 90 |
<option value="!=" selected="selected">is not</option> |
| 91 |
[% ELSE %] |
| 92 |
<option value="!=">is not</option> |
| 93 |
[% END %] |
| 94 |
</select> |
| 95 |
[% ELSE %] |
| 96 |
<select name="op" class="form-field-not"> |
| 97 |
<option value="like">is</option> |
| 98 |
<option value="!=">is not</option> |
| 99 |
</select> |
| 100 |
[% END %] |
| 86 |
<input type="text" name="q" class="form-field-value" value="" /> |
101 |
<input type="text" name="q" class="form-field-value" value="" /> |
| 87 |
<input type="hidden" name="op" value="like" /> |
|
|
| 88 |
</div> |
102 |
</div> |
| 89 |
[% END %] |
103 |
[% END %] |
| 90 |
|
104 |
|
|
Lines 548-554
Link Here
|
| 548 |
form_field.append(button_field_new); |
562 |
form_field.append(button_field_new); |
| 549 |
|
563 |
|
| 550 |
// If a field is linked to an authorised values list, display the list. |
564 |
// If a field is linked to an authorised values list, display the list. |
| 551 |
$('div.form-field-select-text select[name="f"]').change(function() { |
565 |
$('div.form-field-select-text select.form-field-column').change(function() { |
| 552 |
loadAuthorisedValuesSelect($(this)); |
566 |
loadAuthorisedValuesSelect($(this)); |
| 553 |
}).change(); |
567 |
}).change(); |
| 554 |
|
568 |
|
| 555 |
- |
|
|