diff --git a/frontend/delta/js/Clipperz/PM/Crypto.js b/frontend/delta/js/Clipperz/PM/Crypto.js index 91a1683..a61f9a6 100644 --- a/frontend/delta/js/Clipperz/PM/Crypto.js +++ b/frontend/delta/js/Clipperz/PM/Crypto.js @@ -105,7 +105,7 @@ MochiKit.Base.update(Clipperz.PM.Crypto, { 'hash': function(aValue) { var result; - var strngResult; + var stringResult; stringResult = Clipperz.Crypto.Base.computeHashValue(aValue.asString()); // !!!!!!! result = new Clipperz.ByteArray("0x" + stringResult); diff --git a/frontend/delta/js/Clipperz/PM/UI/Components/CardToolbar.js b/frontend/delta/js/Clipperz/PM/UI/Components/CardToolbar.js index 02c7f8b..dc59f3b 100644 --- a/frontend/delta/js/Clipperz/PM/UI/Components/CardToolbar.js +++ b/frontend/delta/js/Clipperz/PM/UI/Components/CardToolbar.js @@ -96,9 +96,7 @@ Clipperz.PM.UI.Components.CardToolbarClass = React.createClass({ }, render: function () { -//console.log("CardToolbar props", this.props); return React.DOM.div({className:'cardToolbar ' + this.props['style']}, [ -// React.DOM.div({className:'header'}, this.props['enableSidePanels'] ? this.renderWithSidePanels() : this.renderWithoutSidePanels()), React.DOM.header({}, this.props['enableSidePanels'] ? this.renderWithSidePanels() : this.renderWithoutSidePanels()), Clipperz.PM.UI.Components.AccountStatus(MochiKit.Base.update(this.props['accountInfo'], this.props['proxyInfo'])), Clipperz.PM.UI.Components.MessageBox(this.props['messageBox']), diff --git a/frontend/delta/js/Clipperz/PM/UI/Components/Cards/View.js b/frontend/delta/js/Clipperz/PM/UI/Components/Cards/View.js index 25fe530..9d65eb7 100644 --- a/frontend/delta/js/Clipperz/PM/UI/Components/Cards/View.js +++ b/frontend/delta/js/Clipperz/PM/UI/Components/Cards/View.js @@ -276,12 +276,12 @@ Clipperz.PM.UI.Components.Cards.ViewClass = React.createClass({ if (this.props['loading'] == true) { result = this.renderLoading(); - } else if (this.props['label']) { + } else if (this.props['_reference']) { result = this.renderCard(); } else { result = this.renderEmpty(); } - + return result; }, 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 ad76586..389cd6e 100644 --- a/frontend/delta/js/Clipperz/PM/UI/Components/ExtraFeatures/OTP.js +++ b/frontend/delta/js/Clipperz/PM/UI/Components/ExtraFeatures/OTP.js @@ -168,7 +168,7 @@ Clipperz.PM.UI.Components.ExtraFeatures.OTPClass = React.createClass({ if (otpDetailInfo['status'] != 'ACTIVE') { otpStatusInfo = React.DOM.div({'className':'otpStatusInfo'}, [ React.DOM.span({'className':'otpStatus'}, otpDetailInfo['status']), - React.DOM.span({'className':'requestDate'}, otpDetailInfo['requestDate']), + React.DOM.span({'className':'requestDate'}, otpDetailInfo['usageDate']), React.DOM.span({'className':'connectionIp'}, otpDetailInfo['connection']['ip']), React.DOM.span({'className':'connectionBrowser'}, otpDetailInfo['connection']['browser']), ])