You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2013/01/18 10:06:13 UTC
git commit: WICKET-4975 Remove an unused check
Updated Branches:
refs/heads/master a433d3ab5 -> ed268cf9c
WICKET-4975 Remove an unused check
Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/ed268cf9
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/ed268cf9
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/ed268cf9
Branch: refs/heads/master
Commit: ed268cf9c6142b78758cd0c6f9e805a6436a2d3d
Parents: a433d3a
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
Authored: Fri Jan 18 11:05:42 2013 +0200
Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
Committed: Fri Jan 18 11:05:42 2013 +0200
----------------------------------------------------------------------
.../wicket/extensions/yui/calendar/wicket-date.js | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/wicket/blob/ed268cf9/wicket-datetime/src/main/java/org/apache/wicket/extensions/yui/calendar/wicket-date.js
----------------------------------------------------------------------
diff --git a/wicket-datetime/src/main/java/org/apache/wicket/extensions/yui/calendar/wicket-date.js b/wicket-datetime/src/main/java/org/apache/wicket/extensions/yui/calendar/wicket-date.js
index 38440f3..4963898 100644
--- a/wicket-datetime/src/main/java/org/apache/wicket/extensions/yui/calendar/wicket-date.js
+++ b/wicket-datetime/src/main/java/org/apache/wicket/extensions/yui/calendar/wicket-date.js
@@ -326,10 +326,7 @@
* @param toDestroy An array of Wicket DateTime objects to destroy
*/
var destroyInternal = function (toDestroy) {
- if (Wicket.DateTime.isDestroying) {
- return;
- }
-
+
// avoids creation of a function inside a loop (JSLint warning)
function scheduleDestroy(toDestroy2) {
window.setTimeout(function(){destroyInternal(toDestroy2);}, 5);