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:
parent
6b5be8ce33
commit
b93b8b38c6
|
@ -1302,10 +1302,6 @@ public class FindWindow extends Window implements EventListener<Event>, ValueCha
|
||||||
} // editors
|
} // editors
|
||||||
|
|
||||||
m_isCancel = false; // teo_sarca [ 1708717 ]
|
m_isCancel = false; // teo_sarca [ 1708717 ]
|
||||||
// Test for no records
|
|
||||||
if (getNoOfRecords(m_query, true) != 0)
|
|
||||||
dispose();
|
|
||||||
|
|
||||||
} // cmd_ok_Simple
|
} // cmd_ok_Simple
|
||||||
|
|
||||||
public void dispose()
|
public void dispose()
|
||||||
|
@ -1341,8 +1337,6 @@ public class FindWindow extends Window implements EventListener<Event>, ValueCha
|
||||||
m_isCancel = false; // teo_sarca [ 1708717 ]
|
m_isCancel = false; // teo_sarca [ 1708717 ]
|
||||||
// save pending
|
// save pending
|
||||||
cmd_save();
|
cmd_save();
|
||||||
if (getNoOfRecords(m_query, true) != 0)
|
|
||||||
dispose();
|
|
||||||
} // cmd_ok_Advanced
|
} // cmd_ok_Advanced
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue