possan/playlistcreator-example — pull request #2 by JMPerez (2014-09-02 13:02:29+00:00)
Title: Send dataType as text

If the dataType is set to JSON, as the response is empty JSON.parse
fails and the error callback gets called
See http://stackoverflow.com/questions/2233553/data-inserted-successful-but-jquery-still-returning-error