IDEMPIERE-144 Performance: Reduce use of modal dialog. Fixed on_modal_close event fire twice due to dispose is called twice.

This commit is contained in:
Heng Sin Low 2012-07-01 09:22:33 +08:00
parent 6b5be8ce33
commit b93b8b38c6
1 changed files with 0 additions and 6 deletions

View File

@ -1302,10 +1302,6 @@ public class FindWindow extends Window implements EventListener<Event>, ValueCha
} // editors
m_isCancel = false; // teo_sarca [ 1708717 ]
// Test for no records
if (getNoOfRecords(m_query, true) != 0)
dispose();
} // cmd_ok_Simple
public void dispose()
@ -1341,8 +1337,6 @@ public class FindWindow extends Window implements EventListener<Event>, ValueCha
m_isCancel = false; // teo_sarca [ 1708717 ]
// save pending
cmd_save();
if (getNoOfRecords(m_query, true) != 0)
dispose();
} // cmd_ok_Advanced
/**