diff --git a/frontend/delta/js/Clipperz/PM/Connection.js b/frontend/delta/js/Clipperz/PM/Connection.js index e8384fa..3b16568 100644 --- a/frontend/delta/js/Clipperz/PM/Connection.js +++ b/frontend/delta/js/Clipperz/PM/Connection.js @@ -516,7 +516,7 @@ Clipperz.log("<<< Connection.messageExceptionHandler") 'uploadAttachment': function(someArguments, aProgressCallback) { return Clipperz.Async.callbacks("Connction.uploadAttachment", [ - MochiKit.Base.method(this, 'message', 'knock', {'requestType':'MESSAGE'}), + MochiKit.Base.method(this, 'message', 'echo', {'echo':"echo"}), MochiKit.Base.method(this.proxy(), 'uploadAttachment', someArguments, aProgressCallback, this.sharedSecret()), ], {trace:false}); @@ -525,7 +525,7 @@ Clipperz.log("<<< Connection.messageExceptionHandler") 'downloadAttachment': function(someArguments, aProgressCallback) { return Clipperz.Async.callbacks("Connction.uploadAttachment", [ - MochiKit.Base.method(this, 'message', 'knock', {'requestType':'MESSAGE'}), + MochiKit.Base.method(this, 'message', 'echo', {'echo':"echo"}), MochiKit.Base.method(this.proxy(), 'downloadAttachment', someArguments, aProgressCallback, this.sharedSecret()), ], {trace:false}); diff --git a/frontend/delta/js/Clipperz/PM/UI/Components/ExtraFeatures/OTP.js b/frontend/delta/js/Clipperz/PM/UI/Components/ExtraFeatures/OTP.js index 497f71c..695afc7 100644 --- a/frontend/delta/js/Clipperz/PM/UI/Components/ExtraFeatures/OTP.js +++ b/frontend/delta/js/Clipperz/PM/UI/Components/ExtraFeatures/OTP.js @@ -116,29 +116,54 @@ Clipperz.PM.UI.Components.ExtraFeatures.OTPClass = React.createClass({ '' + '