优化判断文档是否保存

This commit is contained in:
Minho
2017-04-28 18:28:08 +08:00
parent a386e23d60
commit c289567ec2
2 changed files with 43 additions and 4 deletions

View File

@@ -12,6 +12,7 @@
window.fileUploadURL = "{{urlfor "DocumentController.Upload" "identify" .Model.Identify}}";
window.documentCategory = {{.Result}};
window.book = {{.ModelResult}};
window.selectNode = null;
window.deleteURL = "{{urlfor "DocumentController.Delete" ":key" .Model.Identify}}";
window.editURL = "{{urlfor "DocumentController.Content" ":key" .Model.Identify ":id" ""}}"
</script>