refreshInterval in seconds instead of milliseconds

This commit is contained in:
Frédéric Vachon 2015-03-25 14:17:43 -04:00
parent 283b64bc67
commit ff3013d93c

View File

@ -102,7 +102,7 @@ angular.module('adagios.table', ['adagios.live',
}
if (!!attrs.refreshInterval) {
tableGlobalConfig.refreshInterval = parseInt(attrs.refreshInterval, 10);
tableGlobalConfig.refreshInterval = parseInt(attrs.refreshInterval * 1000, 10);
}