Kendo ui 剑道上传在游戏2.2.2中未显示成功

Kendo ui 剑道上传在游戏2.2.2中未显示成功,kendo-ui,playframework-2.0,kendo-upload,Kendo Ui,Playframework 2.0,Kendo Upload,我有一个剑道文件上传调用,下面是函数: $("#fileUpload").kendoUpload({ async: { saveUrl: "/people", autoUpload: true }, multiple: false, complete: onComplete }); function onComplete(e) { // The upload is now idle dataSourcePers

我有一个剑道文件上传调用,下面是函数:

  $("#fileUpload").kendoUpload({
    async: {
        saveUrl: "/people",
        autoUpload: true
    },
    multiple: false,
    complete: onComplete
});

function onComplete(e) {
    // The upload is now idle
    dataSourcePerson.read();
}
这将调用播放路线文件,该文件在我的控制器中触发此方法:

  public static Result create() {
     // Do some stuff
     return ok("Successfully loaded new users");
  }

我的问题是,上传框显示失败和重试选项,即使上传成功。我的create方法应该返回什么?

我想出来了,我需要用以下方式响应:

  return ok("{\"status\":0}");