diff --git a/pandora_console/include/javascript/jquery.timezone-picker.js b/pandora_console/include/javascript/jquery.timezone-picker.js index 61d0e049ee..df9178429d 100644 --- a/pandora_console/include/javascript/jquery.timezone-picker.js +++ b/pandora_console/include/javascript/jquery.timezone-picker.js @@ -43,7 +43,7 @@ maxDelta: 6, interval: 50 }, - zoomWheelEnabled: true + zoomWheelEnabled: false }), new OpenLayers.Control.Zoom(), new OpenLayers.Control.ZoomBox() diff --git a/pandora_console/operation/users/user_edit.php b/pandora_console/operation/users/user_edit.php index 89bb4d75dd..2637dc59a4 100644 --- a/pandora_console/operation/users/user_edit.php +++ b/pandora_console/operation/users/user_edit.php @@ -345,13 +345,12 @@ $double_auth_enabled = (bool) db_get_value('id', 'tuser_double_auth', 'id_user', if ($config['double_auth_enabled']) { $double_authentication = '

'.__('Double authentication').'

'; $double_authentication .= html_print_checkbox_switch('double_auth', 1, $double_auth_enabled, true); + // Dialog. + $double_authentication .= ''; } if ($double_auth_enabled) { $double_authentication .= html_print_button(__('Show information'), 'show_info', false, 'javascript:show_double_auth_info();', '', true); - // Dialog. - $double_authentication .= ''; - $double_authentication .= '
'; } if (isset($double_authentication)) { @@ -675,6 +674,10 @@ if (!defined('METACONSOLE')) { a.olControlZoomOut { border-radius: 0 0 4px 4px; } + /* Overlay the popup on the map */ + .ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.ui-draggable.ui-resizable{ + z-index:9999 !important; + }