[Commits] svn commit: 6607

Subversion Database Process svn at thor.atrc.utoronto.ca
Fri Feb 27 00:10:29 UTC 2009

r6607 | eli at media.berkeley.edu | 2009-02-26 19:10:29 -0500 (Thu, 26 Feb 2009) | 28 lines
Changed paths:
   M /fluid/components/trunk/src/webapp/fluid-components/js/fluid/uploader/Progress.js
   M /fluid/components/trunk/src/webapp/fluid-components/js/fluid/uploader/Uploader.js

FLUID-2297: removed old code from Progress, reran tests

In Progress changed this:

	that.refresh = function (newProgressBarElm) {
    	if (newProgressBarElm) {
        	that.progressBar = newProgressBarElm;

To this: 

	that.refresh = function () {

And removed the code that reset the width when repositioning an element, as you would want to reset the indicators width explicitly not when repositioning the element:

	var repositionIndicator = function (that) {
        that.indicator.css("top", that.progressBar.position().top)
            .css("left", 0)
Also removed the element argument from the one place in Uplaoder.js that calls Progress.refresh(). It would never pass a different argument than the one that it was initailized with.

More information about the Commits mailing list