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 220-226
Link Here
|
220 |
[% Asset.js("lib/jquery/plugins/jquery.dataTables.columnFilter.js") | $raw %] |
234 |
[% Asset.js("lib/jquery/plugins/jquery.dataTables.columnFilter.js") | $raw %] |
221 |
[% Asset.js("lib/jquery/plugins/jquery.fixFloat.js") | $raw %] |
235 |
[% Asset.js("lib/jquery/plugins/jquery.fixFloat.js") | $raw %] |
222 |
<script type="text/javascript"> |
236 |
<script type="text/javascript"> |
223 |
var authorised_values = [% authorised_values_json | html %]; |
237 |
var authorised_values = [% authorised_values_json %]; |
224 |
|
238 |
|
225 |
function loadAuthorisedValuesSelect(select) { |
239 |
function loadAuthorisedValuesSelect(select) { |
226 |
var selected = select.find('option:selected'); |
240 |
var selected = select.find('option:selected'); |
Lines 424-430
Link Here
|
424 |
form_field.append(button_field_new); |
438 |
form_field.append(button_field_new); |
425 |
|
439 |
|
426 |
// If a field is linked to an authorised values list, display the list. |
440 |
// If a field is linked to an authorised values list, display the list. |
427 |
$('div.form-field-select-text select').change(function() { |
441 |
$('div.form-field-select-text select.form-field-column').change(function() { |
428 |
loadAuthorisedValuesSelect($(this)); |
442 |
loadAuthorisedValuesSelect($(this)); |
429 |
}).change(); |
443 |
}).change(); |
430 |
|
444 |
|
431 |
- |
|
|