Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed issue #17223: With mandatory attribute : lost all current value…
… when create a token
- Loading branch information
1 parent
aeee7f3
commit 42713e1
Showing
3 changed files
with
65 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||
---|---|---|---|---|
|
@@ -729,6 +729,10 @@ public function edit($iSurveyId, $iTokenId, $ajax = false) | |||
$aTokenData[$attr_name] = $request->getPost($attr_name); | ||||
} | ||||
|
||||
if (!empty($sOutput)) { | ||||
\ls\ajax\AjaxHelper::outputError($sOutput); | ||||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
gabrieljenik
Collaborator
|
\Yii::app()->end(); |
This comment has been minimized.
This comment has been minimized.
Sorry, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Uh, will this work? Won't you get two json outputs? Will the JS understand it?