Mercurial > lada > lada-client
diff app/view/proben/List.js @ 364:d0f5be50aed5
Fixed syntax
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Thu, 15 Aug 2013 16:58:48 +0200 |
parents | 3bed0373cf50 |
children | 832e3c8f9191 |
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); } });