Fix nextmatch hierarchy display

This commit is contained in:
Nathan Gray
2013-04-24 19:53:51 +00:00
parent 8262dc54e7
commit 4759d19d25
3 changed files with 59 additions and 13 deletions

View File

@ -69,14 +69,15 @@ var et2_dataview_row = et2_dataview_container.extend(et2_dataview_IViewRange,
{
this.expansionButton = $j(document.createElement("span"));
this.expansionButton.addClass("arrow closed");
var self = this;
this.expansionButton.click(function () {
self._handleExpansionButtonClick(_callback, _context);
});
$j("td:first", this.tr).prepend(this.expansionButton);
}
// Update context
var self = this;
this.expansionButton.off("click").on("click", function () {
self._handleExpansionButtonClick(_callback, _context);
});
$j("td:first", this.tr).prepend(this.expansionButton);
}
else
{