Skip to content
Browse files

Bug fixes

  • Loading branch information...
1 parent 7b15674 commit 0b1b37517b8fc9f0d6ac08d06bd3123fb1f2fef6 @senthilp committed Sep 22, 2011
Showing with 3 additions and 2 deletions.
  1. +2 −1 picuploader.js
  2. +1 −1 progressmeter.js
View
3 picuploader.js
@@ -220,7 +220,8 @@ function PicUploader(dataObj){
cb(getIframeResponse(iframe));
// Delete the iframe with a timeout to fix busy state in FF3.6
- setTimeout(function(){
+ var timeout = setTimeout(function(){
+ clearTimeout(timeout);
iframe.parentNode.removeChild(iframe);
}, 1);
});
View
2 progressmeter.js
@@ -55,7 +55,7 @@ function ProgressMeter(dataObj) {
// Call the finalComplete method
finalComplete();
}
- }, progressInterval);
+ }, pi);
};
/**

0 comments on commit 0b1b375

Please sign in to comment.
Something went wrong with that request. Please try again.