diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index aec7c89fce..902fc502a7 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2013-04-09 Miguel de Dios + + * godmode/reporting/visual_console_builder.editor.js: fixed a + warning message in javascript for null var when the map is empty. + 2013-04-09 Miguel de Dios * godmode/extensions.php: removed the link to delete or disable the diff --git a/pandora_console/godmode/reporting/visual_console_builder.editor.js b/pandora_console/godmode/reporting/visual_console_builder.editor.js index 7f8ffe1d17..fbf1bab6dc 100644 --- a/pandora_console/godmode/reporting/visual_console_builder.editor.js +++ b/pandora_console/godmode/reporting/visual_console_builder.editor.js @@ -1513,8 +1513,10 @@ function eventsItems(drag) { //Check if exist or create the previous draggable check_draggable = $(".item").data(); - if (typeof(check_draggable.uiDraggable) != "undefined") - $(".item").draggable('destroy'); + if (check_draggable) { + if (typeof(check_draggable.uiDraggable) != "undefined") + $(".item").draggable('destroy'); + } //$(".item").resizable(); //Disable but run in ff and in the waste (aka micro$oft IE) show ungly borders