1
0
mirror of http://git.whoc.org.uk/git/password-manager.git synced 2024-12-21 18:47:50 +01:00

Minor fixes

This commit is contained in:
Giulio Cesare Solaroli 2016-11-27 16:05:23 +01:00
parent dcae32b426
commit 228837da16
3 changed files with 7 additions and 9 deletions

View File

@ -66,7 +66,7 @@ Clipperz.PM.UI.Components.CardToolbarClass = React.createClass({
notificationCounter: function () {
var result;
console.log("CARD TOOLBAR NOTIFICATIONS", this.props['notifications']);
// console.log("CARD TOOLBAR NOTIFICATIONS", this.props['notifications']);
if (this.props['notifications']) {
result = this.props['notifications'].length;

View File

@ -120,9 +120,9 @@ Clipperz.PM.UI.Components.ExtraFeatures.PlanClass = React.createClass({
this.renderCertificateSection(),
React.DOM.div({'className': 'upgrade'}, [
React.DOM.button({'className':'button disabled', 'type':'submit'}, "upgrade")
])
// React.DOM.div({'className': 'upgrade'}, [
// React.DOM.button({'className':'button disabled', 'type':'submit'}, "upgrade")
// ])
])
]);

View File

@ -2551,7 +2551,7 @@ console.log("showCertificateCard_handler");
//============================================================================
addNotification_handler: function (aNotification) {
console.log("ADD NOTIFICATION", aNotification);
//console.log("ADD NOTIFICATION", aNotification);
var notification;
notification = {
@ -2567,7 +2567,7 @@ console.log("ADD NOTIFICATION", aNotification);
},
acknowledgeNotification_handler: function (aNotificationReference) {
console.log("ACKNOWLEDGE NOTIFICATION", aNotificationReference);
//console.log("ACKNOWLEDGE NOTIFICATION", aNotificationReference);
var objectIndex = -1;
var i, c;
@ -2591,7 +2591,7 @@ console.log("ACKNOWLEDGE NOTIFICATION", aNotificationReference);
},
updateNotifications: function () {
console.log("UPDATE NOTIFICATIONS");
//console.log("UPDATE NOTIFICATIONS");
this.setPageProperties(this.currentPage(), 'notifications', this.notifications());
},
@ -2730,8 +2730,6 @@ console.log("UPDATE NOTIFICATIONS");
},
//============================================================================
/*
wrongAppVersion: function (anError) {
// this.pages()['errorPage'].setProps({message:anError.message});