anmolbabu has posted comments on this change. Change subject: gluster-nagios-monitoring: Added date validation error message on trends tab ......................................................................
Patch Set 1: (1 comment) http://gerrit.ovirt.org/#/c/31004/1/gluster-nagios-monitoring/src/js/trends.js File gluster-nagios-monitoring/src/js/trends.js: Line 484: var latestGraphs = []; Line 485: var stopDate = $rootScope.stopDate; Line 486: var stopTime = $rootScope.stopTime; Line 487: var stopFullDate = graphUtils.prepareDate(stopDate , stopTime); Line 488: if (stopFullDate.getTime() < startFullDate.getTime()) { I think we should handle '=' as well. The probability of occurrence of this might be too very rare or almost never occurring. Line 489: alert("The To date-time must be greater than the From date-time"); Line 490: } Line 491: else if ((($scope.graphs)) && ($scope.graphs.length > 0)) { Line 492: latestGraphs = dataManager.appendUrlsWithTime($scope.graphs, startFullDate, stopFullDate); -- To view, visit http://gerrit.ovirt.org/31004 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: Id84d02203cd94a780303c5e802dba82e3db500ce Gerrit-PatchSet: 1 Gerrit-Project: samples-uiplugins Gerrit-Branch: master Gerrit-Owner: Karnan t c <[email protected]> Gerrit-Reviewer: Karnan t c <[email protected]> Gerrit-Reviewer: Ramesh N <[email protected]> Gerrit-Reviewer: anmolbabu <[email protected]> Gerrit-HasComments: Yes _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
