You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by sv...@apache.org on 2012/10/23 14:59:12 UTC
[1/2] git commit: WICKET-4623 hide upload status when finished,
since it is a string use ==='100'
Updated Branches:
refs/heads/master 266b591eb -> 011d7daa0
WICKET-4623 hide upload status when finished, since it is a string use
==='100'
Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/011d7daa
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/011d7daa
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/011d7daa
Branch: refs/heads/master
Commit: 011d7daa0317c6dde9c09889c103a3b40761d1dd
Parents: 9782f04
Author: svenmeier <sv...@apache.org>
Authored: Tue Oct 23 14:51:34 2012 +0200
Committer: svenmeier <sv...@apache.org>
Committed: Tue Oct 23 14:51:34 2012 +0200
----------------------------------------------------------------------
.../ajax/markup/html/form/upload/progressbar.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/wicket/blob/011d7daa/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/form/upload/progressbar.js
----------------------------------------------------------------------
diff --git a/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/form/upload/progressbar.js b/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/form/upload/progressbar.js
index 5300d2c..9cdfb9e 100644
--- a/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/form/upload/progressbar.js
+++ b/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/form/upload/progressbar.js
@@ -116,7 +116,7 @@
this.iframe.parentNode.removeChild(this.iframe);
this.iframe = null;
- if (progressPercent === 100) {
+ if (progressPercent === '100') {
Wicket.DOM.hide(this.statusid);
Wicket.DOM.hide(this.barid);
} else {
@@ -124,4 +124,4 @@
}
}
};
-})();
\ No newline at end of file
+})();