BUG 0000 Solved unexpecte variables in reportTables

This commit is contained in:
Douglas Medrano Chura
2011-07-01 10:46:47 -04:00
parent 3aa2785ef1
commit 3835807767

View File

@@ -605,7 +605,7 @@ Ext.onReady(function(){
listeners:{ listeners:{
select: function(){ select: function(){
comboDbConnections.getStore().reload({params:{PRO_UID : Ext.getCmp('PROCESS').getValue()}}); comboDbConnections.getStore().reload({params:{PRO_UID : Ext.getCmp('PROCESS').getValue()}});
if (Ext.getCmp('REP_TAB_TYPE').getValue() == 'GRID') { if (Ext.getCmp('REP_TAB_TYPE').getValue() == 'GRID') {
gridsListStore.reload({params:{PRO_UID : Ext.getCmp('PROCESS').getValue()}}); gridsListStore.reload({params:{PRO_UID : Ext.getCmp('PROCESS').getValue()}});
} else { } else {
@@ -699,8 +699,8 @@ Ext.onReady(function(){
}, { }, {
text:'Cancel', text:'Cancel',
handler: function() { handler: function() {
history.back(); history.back();
} }
}] }]
}); });
@@ -737,6 +737,10 @@ Ext.onReady(function(){
}); });
////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////
function createReportTable() function createReportTable()
@@ -1165,7 +1169,7 @@ function loadTableRowsFromArray(records)
field_size : records[i].FLD_SIZE, field_size : records[i].FLD_SIZE,
field_key : records[i].FLD_KEY, field_key : records[i].FLD_KEY,
field_null : records[i].FLD_NULL, field_null : records[i].FLD_NULL,
field_filter: records[i].FLD_FILTER == '1' ? true : false, field_filter: records[i].FLD_FILTER == '1' ? true : false
}); });
store.add(row); store.add(row);
@@ -1179,7 +1183,7 @@ function loadAvFieldsFromArray(records)
for(i=0; i<records.length; i++) { for(i=0; i<records.length; i++) {
var row = new PMRow({ var row = new PMRow({
FIELD_UID: records[i].FIELD_UID, FIELD_UID: records[i].FIELD_UID,
FIELD_NAME: records[i].FIELD_NAME, FIELD_NAME: records[i].FIELD_NAME
}); });
availableGrid.getStore().add(row); availableGrid.getStore().add(row);
@@ -1246,4 +1250,4 @@ Ext.override(Ext.form.TextField, {
} }
return value; return value;
} }
}); });