From: Michael M Slusarz Date: Fri, 16 Jan 2009 19:33:11 +0000 (-0700) Subject: Correctly display status flags when updating viewport. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=066d0bc24f98d345200d56d6dcf04f69ff686826;p=horde.git Correctly display status flags when updating viewport. --- diff --git a/imp/js/src/ViewPort.js b/imp/js/src/ViewPort.js index 20163ecae..e0bbc7ddc 100644 --- a/imp/js/src/ViewPort.js +++ b/imp/js/src/ViewPort.js @@ -700,6 +700,12 @@ var ViewPort = Class.create({ c_nodes.push(this.template.evaluate(r)); }, this); c.update(c_nodes.join('')); + + if (this.opts.onUpdateClass) { + rows.get('div').each(function(d) { + this.opts.onUpdateClass(d); + }, this); + } } else { // If loading a viewport for the first time, show a blank // viewport rather than the empty viewport status message. @@ -819,7 +825,7 @@ var ViewPort = Class.create({ } if (this.opts.onUpdateClass) { - this.opts.onUpdateClass(d, add); + this.opts.onUpdateClass(d); } }, this); },