title: Have issue with response of submit in ExtJS (response in JSON but somewhere HTML entered)
body: <p>I get this response: </p>
  
  <pre><code>{"success":true,"errorCode":-1,"error":""}
  </code></pre>
  
  <p>No HTML inside the JSON, but the js say its entered:</p>
  
  <pre><code>uncaught exception: You're trying to decode an invalid JSON String: &lt;pre&gt;{"success":true,"errorCode":-1,"error":""}&lt;/pre&gt;
  </code></pre>
  
  <p>The code:
  <a href="http://www.pasteall.org/30057/javascript" rel="nofollow">http://www.pasteall.org/30057/javascript</a></p>
  
  <p>The issue has been fixed that so odd seem like when you upload a file the ExtJS submit can't handle the json response. If you make at html and convert violà you got at.</p>
  
  <pre><code>$this -&gt; output -&gt; set_content_type('text/html'); 
  </code></pre>
  
  <p>that all the problem</p>