playframework 2.0 - Kendo Upload not showing successful in Play 2.2.2 -
i have kendo file upload call, here function:
$("#fileupload").kendoupload({ async: { saveurl: "/people", autoupload: true }, multiple: false, complete: oncomplete }); function oncomplete(e) { // upload idle datasourceperson.read(); }
this calls play routes file triggers method in controller:
public static result create() { // stuff return ok("successfully loaded new users"); }
my problem upload box shows failure , retry option though upload success. should create() method return?
i figured out, needed respond with:
return ok("{\"status\":0}");
Comments
Post a Comment