I have an empty Plone 4.1 website with only the team installed. The download portlet worked fine until I installed plone.app.theming and applied my theme. Files were uploaded, but the web client received the status "Failed".
While checking the ajax response from the server, I found that they were wrapped with an html header. The old answer (before installing diazo and apply my theme) was just
{"success":true}
The new answer (after installing diazo and apply my theme) was wrapped with the html tag:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><body><p>{"success":true}</p></body></html>
I have attached my rule.xml file here (nothing special, there is only one rule due to css: if-content = "# visual-portal-wrapper"): http://pastebin.com/SaK13Fni
What should I do to get around this?
thanks
source share