Fix dashboard events responses
This commit is contained in:
parent
72fce3b9a3
commit
6dc775649d
|
@ -1578,14 +1578,14 @@ if ($get_extended_event) {
|
||||||
|
|
||||||
$comments = '<div id="extended_event_comments_page" class="extended_event_pages"></div>';
|
$comments = '<div id="extended_event_comments_page" class="extended_event_pages"></div>';
|
||||||
|
|
||||||
$notifications = '<div id="notification_comment_error" class="invisible">'.ui_print_error_message(__('Error adding comment'), '', true).'</div>';
|
$notifications = '<div id="notification_comment_error" class="invisible_events">'.ui_print_error_message(__('Error adding comment'), '', true).'</div>';
|
||||||
$notifications .= '<div id="notification_comment_success" class="invisible">'.ui_print_success_message(__('Comment added successfully'), '', true).'</div>';
|
$notifications .= '<div id="notification_comment_success" class="invisible_events">'.ui_print_success_message(__('Comment added successfully'), '', true).'</div>';
|
||||||
$notifications .= '<div id="notification_status_error" class="invisible">'.ui_print_error_message(__('Error changing event status'), '', true).'</div>';
|
$notifications .= '<div id="notification_status_error" class="invisible_events">'.ui_print_error_message(__('Error changing event status'), '', true).'</div>';
|
||||||
$notifications .= '<div id="notification_status_success" class="invisible">'.ui_print_success_message(__('Event status changed successfully'), '', true).'</div>';
|
$notifications .= '<div id="notification_status_success" class="invisible_events">'.ui_print_success_message(__('Event status changed successfully'), '', true).'</div>';
|
||||||
$notifications .= '<div id="notification_owner_error" class="invisible">'.ui_print_error_message(__('Error changing event owner'), '', true).'</div>';
|
$notifications .= '<div id="notification_owner_error" class="invisible_events">'.ui_print_error_message(__('Error changing event owner'), '', true).'</div>';
|
||||||
$notifications .= '<div id="notification_owner_success" class="invisible">'.ui_print_success_message(__('Event owner changed successfully'), '', true).'</div>';
|
$notifications .= '<div id="notification_owner_success" class="invisible_events">'.ui_print_success_message(__('Event owner changed successfully'), '', true).'</div>';
|
||||||
|
|
||||||
$loading = '<div id="response_loading" class="invisible">'.html_print_image('images/spinner.gif', true).'</div>';
|
$loading = '<div id="response_loading" class="invisible_events">'.html_print_image('images/spinner.gif', true).'</div>';
|
||||||
|
|
||||||
$i = 0;
|
$i = 0;
|
||||||
$tab['general'] = $i++;
|
$tab['general'] = $i++;
|
||||||
|
|
|
@ -502,6 +502,7 @@ class EventsListWidget extends Widget
|
||||||
|
|
||||||
\ui_require_css_file('events', 'include/styles/', true);
|
\ui_require_css_file('events', 'include/styles/', true);
|
||||||
\ui_require_css_file('tables', 'include/styles/', true);
|
\ui_require_css_file('tables', 'include/styles/', true);
|
||||||
|
\ui_require_javascript_file('pandora_events', 'include/javascript/', true);
|
||||||
|
|
||||||
$this->values['groupId'] = explode(',', $this->values['groupId'][0]);
|
$this->values['groupId'] = explode(',', $this->values['groupId'][0]);
|
||||||
$this->values['tagsId'] = explode(',', $this->values['tagsId'][0]);
|
$this->values['tagsId'] = explode(',', $this->values['tagsId'][0]);
|
||||||
|
|
|
@ -875,6 +875,9 @@ select:-internal-list-box {
|
||||||
.invisible_important {
|
.invisible_important {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
.invisible_events {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
.visible {
|
.visible {
|
||||||
display: block;
|
display: block;
|
||||||
|
|
Loading…
Reference in New Issue