Details
-
Bug
-
Resolution: Fixed
-
Major
-
2.6 RC1
-
None
-
Trivial
-
N/A
-
N/A
-
Description
If you check the livetable.js code you'll see that it attempts to fire the following two events:
// Let code know the table is about to load new entries. // 1. Named event (for code interested by that table only) document.fire("xwiki:livetable:" + this.domNodeName + ":loadingEntries"); // 2. Generic event (for code potentially interested in any livetable) document.fire("xwiki:livetable:loadingEntries", { "tableId" : this.domNodeName });
The issue is that this.domNodeName is undefined (because 'this' is not bound to the live table object) and thus the expected event is not fired. Moreover, the tableId property of the event data is not set correctly.