mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-04-27 07:40:52 -07:00
Fixed http-request bind-status and bind-progress option names (#7595)
This commit is contained in:
parent
6954fbee51
commit
eff158b1ae
1 changed files with 3 additions and 3 deletions
|
|
@ -106,8 +106,8 @@ function HttpClientRequest(options) {
|
|||
this.wiki = options.wiki;
|
||||
this.completionActions = options.oncompletion;
|
||||
this.progressActions = options.onprogress;
|
||||
this.bindStatus = options["bind-status"];
|
||||
this.bindProgress = options["bind-progress"];
|
||||
this.bindStatus = options["bindStatus"];
|
||||
this.bindProgress = options["bindProgress"];
|
||||
this.method = options.method || "GET";
|
||||
this.body = options.body || "";
|
||||
this.variables = options.variables;
|
||||
|
|
@ -132,7 +132,7 @@ HttpClientRequest.prototype.send = function(callback) {
|
|||
var self = this,
|
||||
setBinding = function(title,text) {
|
||||
if(title) {
|
||||
this.wiki.addTiddler(new $tw.Tiddler({title: title, text: text}));
|
||||
self.wiki.addTiddler(new $tw.Tiddler({title: title, text: text}));
|
||||
}
|
||||
};
|
||||
if(this.url) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue