correction to hiding group/task title

This commit is contained in:
Dante
2015-04-30 15:36:27 -04:00
parent 089f05ba93
commit dbb28af003
3 changed files with 2 additions and 4 deletions

View File

@@ -6,7 +6,6 @@ var ViewDashboardHelper = function () {
ViewDashboardHelper.prototype.userDashboards = function(userId, callBack) {
};
//TODO refactor to a good name...
ViewDashboardHelper.prototype.stringIfNull = function (val){
if(val === null || val == undefined || val == "?"){
val = "?";

View File

@@ -269,7 +269,6 @@ ViewDashboardPresenter.prototype.statusViewModel = function(indicatorId, data) {
});
var retval = data;
//TODO selecte de 7 worst cases no the first 7
retval.graph1Data = this.orderGraphData(graph1Data, "down").splice(0,7)
retval.graph2Data = this.orderGraphData(graph2Data, "down").splice(0,7)
retval.graph3Data = this.orderGraphData(graph3Data, "down").splice(0,7)

View File

@@ -464,9 +464,9 @@ var loadIndicator = function (indicatorId, initDate, endDate) {
fillGeneralIndicatorFirstView(viewModel);
break;
}
hideScrollIfAllDivsAreVisible();
hideTitleAndSortDiv();
});
hideScrollIfAllDivsAreVisible();
hideTitleAndSortDiv();
}
var setIndicatorActiveMarker = function () {