comparison app/controller/grid/Status.js @ 965:a2c2039bb5d9

Disabled StatusGrid Edit when StatusEdit ist false, Load StatuswerteStore differently, removed a bunch of trailing commas
author Dustin Demuth <dustin@intevation.de>
date Thu, 12 Nov 2015 14:25:07 +0100
parents 5b86baa038bc
children d4603049cd42
comparison
equal deleted inserted replaced
964:5b86baa038bc 965:a2c2039bb5d9
92 */ 92 */
93 toggleAllowedPermissions: function(context, record, index){ 93 toggleAllowedPermissions: function(context, record, index){
94 94
95 //retrieve the readOnly parameters 95 //retrieve the readOnly parameters
96 var readonlyWin = context.view.up('window').record.get('readonly'); 96 var readonlyWin = context.view.up('window').record.get('readonly');
97 //var statusEdit = context.view.up('window').record.get('statusEdit');
97 98
98 var readonlyRec = record.get('readonly'); 99 var readonlyRec = record.get('readonly');
99 var grid = context.view.up('grid'); 100 var grid = context.view.up('grid');
100 101
101 //retrieve the last record of the store 102 //retrieve the last record of the store

http://lada.wald.intevation.org