mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 02:28:44 +02:00
N°3868 - "Error: Invalid filter parameter" on mass update
This commit is contained in:
@@ -82,16 +82,20 @@ var oTable{{ sListId }} = $('#{{ oUIBlock.GetId() }}').DataTable({
|
||||
ordering: true,
|
||||
{% if oUIBlock.GetOption("select_mode") is not empty %}
|
||||
select: {
|
||||
style: "{{ oUIBlock.GetOption("select_mode") }}"
|
||||
style: "{% if oUIBlock.GetOption("select_mode") == "multiple" %}multi{% else %}single{% endif %}",
|
||||
info: false
|
||||
},
|
||||
rowCallback: function (oRow, oData) {
|
||||
if ($(this).closest('.ibo-panel--body').find('[name=selectionMode]').val() === "negative")
|
||||
{
|
||||
if (oSelectedItems{{ sListId }}.indexOf(oData.id) === -1) {
|
||||
if (oSelectedItems{{ sListId }}.indexOf(oData.id) === -1)
|
||||
{
|
||||
$(oRow).select();
|
||||
$(oRow).find('td:first-child input').prop('checked', true);
|
||||
}
|
||||
} else {
|
||||
}
|
||||
else
|
||||
{
|
||||
if (oSelectedItems{{ sListId }}.indexOf(oData.id) > -1)
|
||||
{
|
||||
$(oRow).select();
|
||||
|
||||
@@ -11,9 +11,10 @@ var table{{ oUIBlock.GetId()|sanitize(constant('utils::ENUM_SANITIZATION_FILTER_
|
||||
dom: "t",
|
||||
"order": [],
|
||||
{% if oUIBlock.GetOption("select_mode") is not empty %}
|
||||
{% if oUIBlock.GetOption("select_mode") !="custom" %}
|
||||
{% if oUIBlock.GetOption("select_mode") != "custom" %}
|
||||
select: {
|
||||
style: "{{ oUIBlock.GetOption("select_mode") }}"
|
||||
style: "{% if oUIBlock.GetOption("select_mode") == "multiple" %}multi{% else %}single{% endif %}",
|
||||
info: false
|
||||
},
|
||||
{% endif %}
|
||||
columnDefs: [
|
||||
|
||||
Reference in New Issue
Block a user