Bug #38864
loading of "codemirror_custom.min.js" fails
| Status: | Resolved | Start date: | 2012-07-11 | |
|---|---|---|---|---|
| Priority: | Must have | Due date: | ||
| Assignee: | Christian Knuth | % Done: | 0% |
|
| Category: | - | |||
| Target version: | - | |||
| TYPO3 Version: | 4.7 | |||
| Votes: | 1 (View) |
Description
if the project's development enviroment is located within a subpath of the hosts root,
the loading of codemirror_custom.min.js fails, because within Resources/Public/Libraries/codemirror/init.js line 6 tells:
src: '/typo3conf/ext/dce/Resources/Public/Libraries/codemirror/codemirror_custom.min.js'
my BasePath is http://www.testwerk.int/ENTWICKLUNG/bsb_ehrenamt/
so now it tries to load:

which is propably wrong. It should be http://www.testwerk.int/ENTWICKLUNG/bsb_ehrenamt/typo3conf/ext/dce/Resources/Public/Libraries/codemirror/codemirror_custom.min.js
therefor change line 6 to:
src: './../typo3conf/ext/dce/Resources/Public/Libraries/codemirror/codemirror_custom.min.js'
now the dropdown and pasting into the textarea works fine. tested in FireFox and Safari on Mac.
History
Updated by Armin Ruediger Vieweg 11 months ago
- Status changed from New to Needs Feedback
- Assignee changed from Armin Ruediger Vieweg to Christian Knuth
Hey Christian,
thanks for reporting this issue. I have refactored the whole javascript backend stuff in the past days. Could you checkout the latest trunk (out of SVN) and test if the issue is still existing? The include of javascript and css files works now over the pagerenderer. That should fix your issue.
Thanks!
Armin
Updated by Christian Knuth 11 months ago
where do i find "the latest trunk" ???
i just found this page about dce http://typo3.org/extensions/repository/view/dce
and this http://forge.typo3.org/projects/extension-dce
do you have a link?
Updated by Armin Ruediger Vieweg 11 months ago
Sure :) When you click here in Redmine to "Repository" you'll see the SVN path, which contains the trunk folder.
Alternativly here the whole path to checkout:
https://svn.typo3.org/TYPO3v4/Extensions/dce/trunk/
I like the view of svn repository here, you see the revisions and can make diffs, that is very comfortable (for a web interface).
Updated by Christian Knuth 11 months ago
works fine.
Updated by Armin Ruediger Vieweg 11 months ago
- Status changed from Needs Feedback to Resolved
Cool, I fixed the bug before you post it ;)
I will publish the changes soon in version 0.4.0.