Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
ed8527e56b
@ -81,6 +81,13 @@ AJAX.registerOnload('tbl_select.js', function () {
|
||||
return false;
|
||||
});
|
||||
|
||||
var tableRows = $('#fieldset_table_qbe select');
|
||||
$.each(tableRows, function(index, item){
|
||||
$(item).on("change", function() {
|
||||
changeValueFieldType(this, index);
|
||||
});
|
||||
});
|
||||
|
||||
/**
|
||||
* Ajax event handler for Table search
|
||||
*/
|
||||
|
||||
@ -503,6 +503,10 @@ AJAX.registerOnload('tbl_structure.js', function () {
|
||||
$.post(url, params, AJAX.responseHandler);
|
||||
});
|
||||
});
|
||||
|
||||
$(document).on('change', 'select[name=after_field]', function () {
|
||||
checkFirst();
|
||||
});
|
||||
});
|
||||
|
||||
/** Handler for "More" dropdown in structure table rows */
|
||||
|
||||
@ -1,4 +1,3 @@
|
||||
<select name="criteriaColumnOperators[{{ search_index }}]"
|
||||
onchange="changeValueFieldType(this, {{ search_index }})">
|
||||
<select id="ColumnOperator{{ search_index }}" name="criteriaColumnOperators[{{ search_index }}]">
|
||||
{{ type_operators|raw }}
|
||||
</select>
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
{{ 'Add %s column(s)'|trans|format(num_fields)|raw }}
|
||||
<input type="hidden" name="field_where" value="after"/>
|
||||
{# I tried displaying the drop-down inside the label but with Firefox the drop-down was blinking #}
|
||||
<select name="after_field" onchange="checkFirst()">
|
||||
<select name="after_field">
|
||||
<option value="first" data-pos="first">
|
||||
{% trans 'at beginning of table' %}
|
||||
</option>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user