IDEMPIERE-5269 Allow save a record in a read only search field (#1297)
* IDEMPIERE-5269 Allow save a record in a read only search field * IDEMPIERE-5269 integrate patch suggested by Heng Sin
This commit is contained in:
parent
321a65bd66
commit
f784d469b4
|
@ -343,7 +343,9 @@ public class WSearchEditor extends WEditor implements ContextMenuListener, Value
|
|||
if (getComponent().getAttribute(QuickGridTabRowRenderer.IS_QUICK_FORM_COMPONENT) != null)
|
||||
isQuickFormComp = (boolean) getComponent().getAttribute(QuickGridTabRowRenderer.IS_QUICK_FORM_COMPONENT);
|
||||
|
||||
if ((getComponent().getText() == null || getComponent().getText().length() == 0) && !isQuickFormComp)
|
||||
if ( (getComponent().getText() == null || getComponent().getText().length() == 0)
|
||||
&& !isQuickFormComp
|
||||
&& isReadWrite())
|
||||
{
|
||||
// open Info window similar to swing client
|
||||
if (infoPanel != null)
|
||||
|
|
Loading…
Reference in New Issue