BUG 000 momentarily reverted to rc5 fro pmTables (fixes)

This commit is contained in:
Erik Amaru Ortiz
2011-09-05 16:40:47 -04:00
parent f56d333bf7
commit f35f3bb39f
3 changed files with 21 additions and 9 deletions

View File

@@ -15,6 +15,7 @@ var smodel;
var infoGrid;
var _fields;
var isReport;
var editor;
Ext.onReady(function(){
@@ -141,7 +142,9 @@ Ext.onReady(function(){
afteredit : {
fn:function(rowEditor, obj, data, rowIndex ){
if (data.phantom === true) {
store.reload(); // <-- (just for old pmtables class engine) only if it is an insert
setTimeout(function(){
store.reload();
}, 1100); // <-- (just for old pmtables class engine) only if it is an insert
}
}
}
@@ -325,7 +328,7 @@ DoNothing = function(){};
var props = function(){};
NewPMTableRow = function(){
if (editor.editing) {
if (!editor || editor.editing) {
return false;
}
var PMRow = infoGrid.getStore().recordType;