Mercurial > lada > lada-client
view app/lib/Helpers.js @ 448:bd2b26c249e2
Use 'load', not 'reload' to fill the proben store if its empty.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Thu, 05 Dec 2013 11:18:43 +0100 |
parents | 60a2812568cb |
children | debfcc7713e3 |
line wrap: on
line source
/** * Helper class * This class provides some globally used functions. */ Ext.define('Lada.lib.Helpers', { statics: { /** * Function to translate a timestamp into a date */ ts2date: function(v, record){ // Converts a timestamp into a date object. if (v === null || v === undefined) { return v; } return new Date(v); } } })