From 260a19ae9a0a08144651706fb363c653465c11f3 Mon Sep 17 00:00:00 2001 From: kukrik Date: Sat, 22 Aug 2020 11:57:44 +0300 Subject: [PATCH 1/2] bugfix-Constants must be aligned with /application/src/Action/ActionParams.php Please see there /application/src/Action/ActionParams.php lines 33 - 42! --- src/Control/ControlBase.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Control/ControlBase.php b/src/Control/ControlBase.php index d8527db..179cc8c 100644 --- a/src/Control/ControlBase.php +++ b/src/Control/ControlBase.php @@ -143,11 +143,11 @@ abstract class ControlBase extends Q\Project\HtmlAttributeManager const CAUSES_VALIDATION_SIBLINGS_AND_CHILDREN = 2; const CAUSES_VALIDATION_SIBLINGS_ONLY = 3; - const ACTION_PARAM = 'param'; - const ACTION_ORIGINAL_PARAM = 'originalParam'; - const ACTION_OBJ = 'action'; - const ACTION_CONTROL_ID = 'controlId'; - const ACTION_FORM_ID = 'formId'; // This not really used. Its here in the event we ever support more than one form on a page. + const ACTION_PARAM = 'Param'; + const ACTION_ORIGINAL_PARAM = 'OriginalParam'; + const ACTION_OBJ = 'Action'; + const ACTION_CONTROL_ID = 'ControlId'; + const ACTION_FORM_ID = 'FormId'; // This not really used. Its here in the event we ever support more than one form on a page. /** * Protected members From 25508fb84867f060318efe9a2a7400c01d656384 Mon Sep 17 00:00:00 2001 From: Tiit Papp Date: Fri, 27 Nov 2020 00:15:38 +0200 Subject: [PATCH 2/2] Add one change Version 3.1 has a different folder structure: for example, qc.baseDir refers to qc.baseDir = "/ qcubed-4 / vendor / qcubed"; But for example, the structure of version 4 is slightly different from version 3.1. Then there is no javascript access directly to the "vendor" folder. Added sprintf ('qc.jsVendor = "% s";', QCUBED_VENDOR_URL). Now you can access it more easily than you need to. --- src/Control/FormBase.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Control/FormBase.php b/src/Control/FormBase.php index ec550b4..54c11fd 100644 --- a/src/Control/FormBase.php +++ b/src/Control/FormBase.php @@ -1976,6 +1976,7 @@ function(event) { // put javascript environment defines up early for use by other js files. $strHtml .= '