pombreda / django-grappelli

Automatically exported from code.google.com/p/django-grappelli
Other
0 stars 0 forks source link

TinyMCE link plugin still requests from MEDIA_URL #367

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Which DJANGO-VERSION are you using?
1.3

Which GRAPPELLI-VERSION are you using?
2.3

Which BROWSER (including the version) are you using?
Firefox

What steps will reproduce the problem?
1. Make sure you're using static files
2. Using TinyMCE create a href
3. /static/grappelli/tinymce/jscripts/tiny_mce/plugins/advlink/link.htm will 
try to request 
/media/admin/tinymce/jscripts/tiny_mce/themes/advanced/skins/grappelli/ rather 
than /static/

What is the expected output? What do you see instead?
The box has no style and if you have broken link emails turned on, it sends you 
the 404 for above.

Please provide any additional information below.

Original issue reported on code.google.com by inwN...@gmail.com on 13 May 2011 at 1:33

GoogleCodeExporter commented 9 years ago
that´s not the case with my test-setup. what´s your ADMIN_MEDIA_PREFIX? how 
did you add tinymce (class media: ...)?

Original comment by sehmaschine on 21 May 2011 at 10:53

GoogleCodeExporter commented 9 years ago
Never mind I found it! I had /media/ still specified in tiny_mce_setup.js for 
"popup_css".

Original comment by inwN...@gmail.com on 21 May 2011 at 11:07

GoogleCodeExporter commented 9 years ago

Original comment by sehmaschine on 21 May 2011 at 11:12