mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
Better check to make sure change callback doesn't run during template rendering - handles template reloads
This commit is contained in:
parent
cb94adb995
commit
c7de2d229d
@ -221,7 +221,7 @@ app.classes.infolog = AppJS.extend(
|
||||
status_changed: function(changed_id, status_id, percent_id, datecompleted_id)
|
||||
{
|
||||
// Make sure this doesn't get executed while template is loading
|
||||
if(this.et2 == null) return;
|
||||
if(this.et2 == null || this.et2.getInstanceManager() == null) return;
|
||||
|
||||
var status = document.getElementById(status_id);
|
||||
var percent = document.getElementById(percent_id);
|
||||
|
Loading…
Reference in New Issue
Block a user