Changeset 686

Show
Ignore:
Timestamp:
11/02/09 16:24:36 (3 weeks ago)
Author:
jdecq
Message:

- fixed bug with resizing thumbnails of already uploaded photos.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/uploadr/3.2/MacUploadr.app/Contents/Resources/chrome/content/uploadr/ui.js

    r685 r686  
    8484                } 
    8585            } 
     86            for each (var up in photos.uploaded) { 
     87                if(up) { 
     88                    ui.resizeUploadThumbImg(up); 
     89                } 
     90            } 
    8691        }, 
    8792         
     
    144149                if(progressbar) { 
    145150                    progressbar.style.width = p.thumb_width/ratio + 'px'; 
    146                     progressbar.style.top = (img.height - 20) + 'px'; 
    147                 } 
     151                    progressbar.style.top = (p.thumb_height/ratio - 20) + 'px'; 
     152                } 
     153                p.progress_bar.width = p.thumb_width/ratio; 
     154                document.getElementById(p.progress_bar.id).width = p.thumb_width/ratio; 
    148155                li.style.width = gridSize + 'px'; 
    149156                li.style.height = gridSize + 'px';