Feature #25079
closedsuggest wizard won't work when using frontend editing.
100%
Description
The suggest wizard won't work when the form containing it was opened out of the frontend editing mode, as it uses an undefined javascript variable to build the request url for the ajax.php, leading to a 404 error, because the request url is "undefinedajax.php".
After some debugging, i found out that the undefined variable is called "top.TS.PATH_typo3" and that the issue can be fixed by adding a single line to the inline javascript in alt_doc.php. (see additional information for the snippet)
The suggest wizard works in the "full" backend, as top.TS.PATH_typo3 is defined there.
<<<<< snip [~ line 463 in typo3/alt_doc.php, function init() ]
// Object: TS:
// passwordDummy and decimalSign are used by tbe_editor.js and have to be declared here as
// TS object overwrites the object declared in tbe_editor.js
function typoSetup () { //
this.uniqueID = "";
this.passwordDummy = "********";
this.PATH_typo3 = ""; //##### ADDING THIS LINE FIXES THE ISSUE ####
this.decimalSign = ".";
}
<<<<< snip
(issue imported from #M17643)
Updated by Gerrit Code Review almost 13 years ago
- Status changed from New to Under Review
Patch set 1 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/7437
Updated by Gerrit Code Review almost 13 years ago
Patch set 2 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/7437
Updated by Gerrit Code Review almost 13 years ago
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/7452
Updated by Gerrit Code Review almost 13 years ago
Patch set 3 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/7437
Updated by Anonymous over 12 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 418fe71304e7e21a188ee014fc2bef3be11aa56f.
Updated by Gerrit Code Review over 12 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch TYPO3_4-7 has been pushed to the review server.
It is available at http://review.typo3.org/9545
Updated by Anonymous over 12 years ago
- Status changed from Under Review to Resolved
Applied in changeset 0cd1a4a5d90cf096adfea41e74a4bc639f82b784.
Updated by Sybille Peters over 12 years ago
- Target version deleted (
0)
This has not been applied to 4.5? Change is not present in 4.5.16.
Updated by Gerrit Code Review over 12 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch TYPO3_4-5 has been pushed to the review server.
It is available at http://review.typo3.org/12836
Updated by Anonymous over 12 years ago
- Status changed from Under Review to Resolved
Applied in changeset 08b29b85bcc63083dfabffa5629bf2f3cf261072.
Updated by Gerrit Code Review over 12 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch TYPO3_4-5 has been pushed to the review server.
It is available at http://review.typo3.org/13680
Updated by Helmut Hummel over 12 years ago
- Status changed from Under Review to Resolved