mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-10 03:28:18 +01:00
Fix php8.2 warnings
This commit is contained in:
@@ -1277,7 +1277,7 @@ function price2numjs(amount) {
|
||||
|
||||
|
||||
<?php
|
||||
if (empty($conf->global->MAIN_DISABLE_JQUERY_JNOTIFY) && !defined('DISABLE_JQUERY_JNOTIFY')) {
|
||||
if (!getDolGlobalString('MAIN_DISABLE_JQUERY_JNOTIFY') && !defined('DISABLE_JQUERY_JNOTIFY')) {
|
||||
?>
|
||||
// Defined properties for JNotify
|
||||
$(document).ready(function() {
|
||||
@@ -1326,7 +1326,7 @@ jQuery(document).ready(function() {
|
||||
*/
|
||||
|
||||
<?php
|
||||
if (empty($conf->global->MAIN_DISABLE_SELECT2_FOCUS_PROTECTION) && !defined('DISABLE_SELECT2_FOCUS_PROTECTION')) {
|
||||
if (!getDolGlobalString('MAIN_DISABLE_SELECT2_FOCUS_PROTECTION') && !defined('DISABLE_SELECT2_FOCUS_PROTECTION')) {
|
||||
?>
|
||||
$(document).on('select2:open', (e) => {
|
||||
console.log("Execute the focus (click on combo or use space when on component");
|
||||
|
||||
Reference in New Issue
Block a user