Skip to content

Commit bb588f5

Browse files
committed
Fix to application URIs
1 parent be64d33 commit bb588f5

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

js/gitana/application/EmailProvider.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@
7070
*/
7171
send: function(email)
7272
{
73+
var self = this;
74+
7375
var emailId = null;
7476
if (Gitana.isString(email))
7577
{
@@ -80,7 +82,12 @@
8082
emailId = email.getId();
8183
}
8284

83-
return this.chainPostEmpty(this, this.getUri() + "/send?email=" + emailId);
85+
var uriFunction = function()
86+
{
87+
return self.getUri() + "/send?email=" + emailId;
88+
};
89+
90+
return this.chainPostEmpty(this, uriFunction);
8491
}
8592

8693
});

0 commit comments

Comments
 (0)