comparison 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
comparison
equal deleted inserted replaced
363:3bed0373cf50 364:d0f5be50aed5
52 * The function is called from the {@link Lada.controller.Sql#selectSql 52 * The function is called from the {@link Lada.controller.Sql#selectSql
53 * select sql event} 53 * select sql event}
54 * @parameter {Array} List of cols to show in the Grid. 54 * @parameter {Array} List of cols to show in the Grid.
55 */ 55 */
56 setupColumns: function(cols) { 56 setupColumns: function(cols) {
57 var rcols = [] 57 var rcols = [];
58 rcols.push({header: 'RW', dataIndex: 'readonly', width: 30, renderer: render_readonly}); 58 rcols.push({header: 'RW', dataIndex: 'readonly', width: 30, renderer: render_readonly});
59 for (var i = cols.length - 1; i >= 0; i--){ 59 for (var i = cols.length - 1; i >= 0; i--){
60 rcols.push(cols[i]); 60 rcols.push(cols[i]);
61 }; 61 }
62 this.reconfigure(this.store, rcols); 62 this.reconfigure(this.store, rcols);
63 } 63 }
64 }); 64 });
65 65
66 /** 66 /**

http://lada.wald.intevation.org