Minor fixes

v1.0.4-work
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 () { notificationCounter: function () {
var result; var result;
console.log("CARD TOOLBAR NOTIFICATIONS", this.props['notifications']); // console.log("CARD TOOLBAR NOTIFICATIONS", this.props['notifications']);
if (this.props['notifications']) { if (this.props['notifications']) {
result = this.props['notifications'].length; result = this.props['notifications'].length;

View File

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

View File

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