mirror of
http://git.whoc.org.uk/git/password-manager.git
synced 2025-12-19 04:47:02 +01:00
Tentative fix for SRP problem and improved Attachments UI in card View
and Edit
This commit is contained in:
@@ -517,7 +517,8 @@ Clipperz.log("<<< Connection.messageExceptionHandler")
|
||||
'uploadAttachment': function(someArguments, aProgressCallback) {
|
||||
return Clipperz.Async.callbacks("Connction.uploadAttachment", [
|
||||
MochiKit.Base.method(this, 'message', 'echo', {'echo':"echo"}),
|
||||
MochiKit.Base.method(this.proxy(), 'uploadAttachment', someArguments, aProgressCallback, this.sharedSecret()),
|
||||
MochiKit.Base.bind(function(){ return this.sharedSecret()}, this),
|
||||
MochiKit.Base.method(this.proxy(), 'uploadAttachment', someArguments, aProgressCallback/*, this.sharedSecret()*/),
|
||||
], {trace:false});
|
||||
|
||||
// return this.proxy().uploadAttachment(someArguments, aProgressCallback, this.sharedSecret());
|
||||
@@ -526,7 +527,8 @@ Clipperz.log("<<< Connection.messageExceptionHandler")
|
||||
'downloadAttachment': function(someArguments, aProgressCallback) {
|
||||
return Clipperz.Async.callbacks("Connction.uploadAttachment", [
|
||||
MochiKit.Base.method(this, 'message', 'echo', {'echo':"echo"}),
|
||||
MochiKit.Base.method(this.proxy(), 'downloadAttachment', someArguments, aProgressCallback, this.sharedSecret()),
|
||||
MochiKit.Base.bind(function(){ return this.sharedSecret()}, this),
|
||||
MochiKit.Base.method(this.proxy(), 'downloadAttachment', someArguments, aProgressCallback/*, this.sharedSecret()*/),
|
||||
], {trace:false});
|
||||
|
||||
// return this.proxy().downloadAttachment(someArguments, aProgressCallback, this.sharedSecret());
|
||||
|
||||
Reference in New Issue
Block a user