Notes |
|
(0039747)
|
hgbot
|
2011-08-01 16:58
|
|
Repository: erp/devel/pi
Changeset: 19135e59b53249b9a0b351052664ec910889a828
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Mon Aug 01 16:57:41 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/19135e59b53249b9a0b351052664ec910889a828 [^]
Fixes issue 18150: Destroy context menu when a listgrid is destroyed
Added explicit destroy of context menu when a grid is destroyed
---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
---
|
|
|
|
|
|
|
Tested on pi @ rev cd93116382e9
----
Using Chrome Dev Tools, checking the value of the contextMenu in a Grid
isc_OBStandardView_0.viewGrid
_2
isc_OBStandardView_0.viewGrid.ID
"isc_OBViewGrid_8"
isc_OBStandardView_0.viewGrid.contextMenu
_2
isc_OBStandardView_0.viewGrid.contextMenu.ID
"isc_Menu_4"
isc_Menu_4
_2
isc_Menu_4 === null
false
isc_Menu_4 === null
true |
|