From adb03a1d8850285904cd8ddbb242ca7493a87284 Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Wed, 19 Nov 2008 22:41:06 +0000 Subject: [PATCH] BUGFIX: Removed unnecessary and bug-causing Behaviour.apply() call. git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@66251 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- forms/Validator.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/forms/Validator.php b/forms/Validator.php index 7e7780c8a..0494886e2 100755 --- a/forms/Validator.php +++ b/forms/Validator.php @@ -161,8 +161,6 @@ Behaviour.register({ } } }); -// TODO Performance-issue: Behaviour is possibly applied twice -Behaviour.apply('#$formID'); JS; Requirements::customScript($js);