We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b825908 + d98beed commit 1f0d8feCopy full SHA for 1f0d8fe
src/js/services/apimiddleware.js
@@ -60,9 +60,9 @@
60
return this.apiHandler.getContent(fileManagerConfig.getContentUrl, itemPath);
61
};
62
63
- ApiMiddleware.prototype.edit = function(item, content) {
+ ApiMiddleware.prototype.edit = function(item) {
64
var itemPath = this.getFilePath(item);
65
- return this.apiHandler.edit(fileManagerConfig.editUrl, itemPath, content);
+ return this.apiHandler.edit(fileManagerConfig.editUrl, itemPath, item.tempModel.content);
66
67
68
ApiMiddleware.prototype.rename = function(item) {
0 commit comments