1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-26 10:03:37 +03:00

bug #3504: Datatable not defined when trying to initalize the select filter

This commit is contained in:
Daniel Molina 2015-01-19 17:17:37 +01:00
parent 00d1b0f541
commit 9ddae9673b

View File

@ -4308,7 +4308,7 @@ function setup_provision_vms_list(context, opts) {
if ($(this).val() != "-2"){
provision_vms_datatable.fnFilter("^" + $(this).val() + "$", 2, true, false);
} else {
provision_vms_datatable.fnFilterClear();
provision_vms_datatable.fnFilter("", 2);
}
})
@ -4462,7 +4462,7 @@ function setup_provision_templates_list(context, opts) {
if ($(this).val() != "-2"){
provision_templates_datatable.fnFilter("^" + $(this).val() + "$", 3, true, false);
} else {
provision_templates_datatable.fnFilterClear();
provision_templates_datatable.fnFilter("", 3);
}
})
@ -5178,7 +5178,7 @@ function setup_provision_flows_list(context, opts){
if ($(this).val() != "-2"){
provision_flows_datatable.fnFilter("^" + $(this).val() + "$", 2, true, false);
} else {
provision_flows_datatable.fnFilterClear();
provision_flows_datatable.fnFilter("", 2);
}
})