Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
fcf60517
Commit
fcf60517
authored
Nov 29, 2017
by
Carsten Rose
Browse files
Merge branch 'master' into 4865PillDynamicUpdatesShowHide
parents
39a6ca1a
bf60c6e8
Changes
2
Hide whitespace changes
Inline
Side-by-side
extension/qfq/api/load.php
View file @
fcf60517
...
...
@@ -30,10 +30,10 @@ require_once(__DIR__ . '/../qfq/QuickFormQuery.php');
*
* Description:
*
* Save successful
l
. Button 'close', 'new'. Form.forward: 'auto'. Client logic decide to redirect or not. Show message
* Save successful. Button 'close', 'new'. Form.forward: 'auto'. Client logic decide to redirect or not. Show message
* if no redirect. status = 'success' message = <message> redirect = 'client'
*
* Save successful
l
. Button 'close': Form.forward: 'page'. Client redirect to url.
* Save successful. Button 'close': Form.forward: 'page'. Client redirect to url.
* status = 'success'
* message = <message>
* redirect = 'url'
...
...
extension/qfq/qfq/AbstractBuildForm.php
View file @
fcf60517
...
...
@@ -906,7 +906,8 @@ abstract class AbstractBuildForm {
// if (!$flagRowUpdate) {
// #4771 - temporary workaround: SELECT in 'multi FE row' won't updated after 'save' or with dynamic update.
if
(
$formElement
[
FE_TYPE
]
!=
FE_TYPE_SELECT
&&
$formElement
[
FE_TYPE
]
!=
FE_TYPE_UPLOAD
)
{
//TODO #5016 - exception for FE_TYPE_CHECKBOX should be removed ASAP
if
(
$formElement
[
FE_TYPE
]
!=
FE_TYPE_SELECT
&&
$formElement
[
FE_TYPE
]
!=
FE_TYPE_UPLOAD
&&
$formElement
[
FE_TYPE
]
!=
FE_TYPE_CHECKBOX
)
{
$json
[
API_ELEMENT_UPDATE
][
$formElement
[
FE_HTML_ID
]][
API_ELEMENT_ATTRIBUTE
][
'value'
]
=
$value
;
}
}
...
...
@@ -1798,7 +1799,8 @@ abstract class AbstractBuildForm {
if
(
$formElement
[
FE_CHECKBOX_CHECKED
]
===
$value
)
{
$attribute
.
=
Support
::
doAttribute
(
'checked'
,
'checked'
);
$valueJson
=
true
;
// $valueJson = true;
$valueJson
=
$value
;
}
$attribute
.
=
$this
->
getAttributeList
(
$formElement
,
[
'autofocus'
]);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment