minor: should take gridtab from gridfield as default instead of null.

This commit is contained in:
Heng Sin Low 2012-12-17 21:26:50 +08:00
parent 971cc102b4
commit 92c334886a
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ public class WebEditorFactory
public static WEditor getEditor(GridField gridField, boolean tableEditor) public static WEditor getEditor(GridField gridField, boolean tableEditor)
{ {
return getEditor(null, gridField, tableEditor); return getEditor(gridField.getGridTab(), gridField, tableEditor);
} }
public static WEditor getEditor(GridTab gridTab, GridField gridField, boolean tableEditor) public static WEditor getEditor(GridTab gridTab, GridField gridField, boolean tableEditor)