net.put => net.request('PUT'; improved usability for "Save" buttons
This commit is contained in:
parent
e7afb4f19e
commit
eccc98b83b
4 changed files with 28 additions and 31 deletions
|
|
@ -182,7 +182,7 @@ function saveDoc(name, callback) {
|
|||
else if (parts[0] == "ace")
|
||||
path = "lib/" + path;
|
||||
|
||||
net.put(path, doc.session.getValue(), callback);
|
||||
net.request('PUT', path, doc.session.getValue(), callback);
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue