Comment 1 for bug 1794176

Revision history for this message
Bill Erickson (berick) wrote :

Fix pushed:

http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/berick/lp1794176-grid-tooltip-more-dynamic

Long story short, the grid tooltip logic captured cell contents into a variable so it could use the same data for both the tooltip and the cell contents, this way it would not have to generate values twice for each cell. It was essentially caching grid values inside an ng-init variable. Doh! Rolled back the optimization.

Included is a change to how the tooltips are generated for HTML-compiled cells. Instead of showing the compiled HTML it shows the text extracted from the HTML, similar with what's displayed in the CVS/Print grid. This was necessary to avoid a $digest loop. The only difference this should make in practice is it's not possible to click on links (etc) embedded in grid tooltips.