From ad6d87f9d294b79a9ad6e097b6982187920c6438 Mon Sep 17 00:00:00 2001 From: Thomas Zilio Date: Fri, 28 Sep 2018 09:57:25 +0200 Subject: [PATCH] Bugfix minori --- bug.php | 2 +- src/HTMLBuilder/Handler/CKEditorHandler.php | 3 ++- update/2_4_2.sql | 3 +++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/bug.php b/bug.php index 41ec0537f..14efdf827 100644 --- a/bug.php +++ b/bug.php @@ -151,7 +151,7 @@ echo ' var html = "

'.tr('Se hai riscontrato un bug ricordati di specificare').':

" + "" + "

'.tr('Assicurati inoltre di controllare che il checkbox relativo ai file di log sia contrassegnato, oppure riporta qui l\'errore visualizzato').'.

" + "

'.tr('Ti ringraziamo per il tuo contributo').',
" + diff --git a/src/HTMLBuilder/Handler/CKEditorHandler.php b/src/HTMLBuilder/Handler/CKEditorHandler.php index 6f5d50e17..74857be92 100644 --- a/src/HTMLBuilder/Handler/CKEditorHandler.php +++ b/src/HTMLBuilder/Handler/CKEditorHandler.php @@ -20,7 +20,8 @@ class CKEditorHandler implements HandlerInterface toolbar: globals.ckeditorToolbar, language: globals.locale, scayt_autoStartup: true, - scayt_sLang: globals.full_locale + scayt_sLang: globals.full_locale, + disableNativeSpellChecker: false, }); '; } diff --git a/update/2_4_2.sql b/update/2_4_2.sql index 05247b88b..2fa509fd7 100644 --- a/update/2_4_2.sql +++ b/update/2_4_2.sql @@ -526,3 +526,6 @@ INSERT INTO `zz_views` (`id`, `id_module`, `name`, `query`, `order`, `search`, ` UPDATE `zz_views` SET `search` = 1 WHERE `name` = 'Nome' AND `id_module` = (SELECT `id` FROM `zz_modules` WHERE `name` = 'Banche'); UPDATE `zz_views` SET `search` = 1 WHERE `name` = 'Filiale' AND `id_module` = (SELECT `id` FROM `zz_modules` WHERE `name` = 'Banche'); UPDATE `zz_views` SET `search` = 1 WHERE `name` = 'IBAN' AND `id_module` = (SELECT `id` FROM `zz_modules` WHERE `name` = 'Banche'); + +-- Fix Date emissione nello Scadenzario +UPDATE `zz_views` SET `query` = 'data_emissione' WHERE `zz_views`.`id_module` = (SELECT `id` FROM `zz_modules` WHERE `name` = 'Scadenzario') AND name = 'Data emissione';