Mercurial > lada > lada-client
changeset 364:d0f5be50aed5
Fixed syntax
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Thu, 15 Aug 2013 16:58:48 +0200 |
parents | 3bed0373cf50 |
children | ae1b4c828649 |
files | app/view/proben/List.js |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/app/view/proben/List.js Thu Aug 15 16:58:38 2013 +0200 +++ b/app/view/proben/List.js Thu Aug 15 16:58:48 2013 +0200 @@ -54,11 +54,11 @@ * @parameter {Array} List of cols to show in the Grid. */ setupColumns: function(cols) { - var rcols = [] + var rcols = []; rcols.push({header: 'RW', dataIndex: 'readonly', width: 30, renderer: render_readonly}); for (var i = cols.length - 1; i >= 0; i--){ rcols.push(cols[i]); - }; + } this.reconfigure(this.store, rcols); } });