Merge branch 'ent-7638-11735-vista-de-eventos-en-dashboard-menus-descolocados' into 'develop'
fixed error with wrong event list dialog in dashboard See merge request artica/pandorafms!4374
This commit is contained in:
commit
f53969731a
|
@ -1169,6 +1169,10 @@ function dashboardLoadVC(settings) {
|
|||
// eslint-disable-next-line no-unused-vars
|
||||
function dashboardShowEventDialog(settings) {
|
||||
settings = JSON.parse(atob(settings));
|
||||
var dialog_exist = $("div[aria-describedby='event_details_window']");
|
||||
if (dialog_exist.length == 1) {
|
||||
$("div[aria-describedby='event_details_window']").remove();
|
||||
}
|
||||
$.ajax({
|
||||
method: "post",
|
||||
url: settings.ajaxUrl,
|
||||
|
|
|
@ -761,11 +761,6 @@ class EventsListWidget extends Widget
|
|||
$output .= "<div id='event_response_window'></div>";
|
||||
$output .= "<div id='event_response_command_window' title='";
|
||||
$output .= \__('Parameters')."'></div>";
|
||||
$output .= \ui_require_javascript_file(
|
||||
'pandora_events',
|
||||
'include/javascript/',
|
||||
true
|
||||
);
|
||||
} else {
|
||||
$output .= '<div class="container-center">';
|
||||
$output .= \ui_print_info_message(
|
||||
|
|
Loading…
Reference in New Issue