mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-10 07:21:04 +01:00
Trigger a clear event on the etemplate DOMContainer when the etemplate is cleared, so app code can listen for it.
This allows a 'et2_unload' sort of processing.
This commit is contained in:
parent
40aa20eaa2
commit
9851a8a6ef
@ -121,6 +121,8 @@ etemplate2.prototype.resize = function()
|
|||||||
*/
|
*/
|
||||||
etemplate2.prototype.clear = function()
|
etemplate2.prototype.clear = function()
|
||||||
{
|
{
|
||||||
|
$j(this.DOMContainer).trigger('clear');
|
||||||
|
|
||||||
// Remove any handlers on window (resize)
|
// Remove any handlers on window (resize)
|
||||||
if(this.uniqueId)
|
if(this.uniqueId)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user