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.
1 parent b825908 commit d98beedCopy full SHA for d98beed
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