mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 01:29:05 +01:00
using getDOMNode() instead of private node attribute (no longer existing in Et2Box
This commit is contained in:
parent
373cf6590d
commit
50a7179fce
@ -175,15 +175,15 @@ class AdminApp extends EgwApp
|
|||||||
if(ajax)
|
if(ajax)
|
||||||
{
|
{
|
||||||
|
|
||||||
if(this.ajax_target.node.children.length)
|
if(this.ajax_target.getDOMNode().children.length)
|
||||||
{
|
{
|
||||||
// Node has children already? Check for loading over an
|
// Node has children already? Check for loading over an
|
||||||
// existing etemplate, and remove it first
|
// existing etemplate, and remove it first
|
||||||
jQuery(this.ajax_target.node.children).each(function() {
|
jQuery(this.ajax_target.getDOMNode().children).each(function() {
|
||||||
var old = etemplate2.getById(this.id);
|
var old = etemplate2.getById(this.id);
|
||||||
if(old) old.clear();
|
if(old) old.clear();
|
||||||
});
|
});
|
||||||
jQuery(this.ajax_target.node).empty();
|
jQuery(this.ajax_target.getDOMNode()).empty();
|
||||||
}
|
}
|
||||||
this.egw.json(
|
this.egw.json(
|
||||||
framework.activeApp.getMenuaction('ajax_exec', _url),
|
framework.activeApp.getMenuaction('ajax_exec', _url),
|
||||||
@ -394,7 +394,7 @@ class AdminApp extends EgwApp
|
|||||||
if(!_data || _data.type != undefined) return;
|
if(!_data || _data.type != undefined) return;
|
||||||
|
|
||||||
// Insert the content, etemplate will load into it
|
// Insert the content, etemplate will load into it
|
||||||
jQuery(this.ajax_target.node).append(typeof _data === 'string' ? _data : _data[0]);
|
jQuery(this.ajax_target.getDOMNode()).append(typeof _data === 'string' ? _data : _data[0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user