From 94c614465317452d74d7f2bf98b369ddb7e72444 Mon Sep 17 00:00:00 2001 From: "tatiana.llorente@artica.es" Date: Tue, 4 Dec 2018 15:08:17 +0100 Subject: [PATCH] Changed funciton size by length in jquery - #2893 --- pandora_console/godmode/events/custom_events.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/godmode/events/custom_events.php b/pandora_console/godmode/events/custom_events.php index 74c5a9c389..e7e3ba779f 100644 --- a/pandora_console/godmode/events/custom_events.php +++ b/pandora_console/godmode/events/custom_events.php @@ -229,7 +229,7 @@ $(document).ready (function () { }); $("#left").click (function () { - var current_fields_size = ($('#fields_selected option').size()); + var current_fields_size = ($('#fields_selected option').length); var selected_fields = []; var selected_fields_total = '';