From d6c7cd9c9e59008f313aac5ca0ddab86619264fd Mon Sep 17 00:00:00 2001 From: Sam Stephenson Date: Sat, 28 Apr 2007 03:28:13 +0000 Subject: [PATCH] prototype: Fix $F breakage from [6598]. --- CHANGELOG | 2 ++ test/unit/form.html | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index 65048d8..38a540e 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Fix $F breakage from [6598]. [sam] + * Set window.$continue to an Error with a helpful message for anyone who may still be using "throw $continue". [sam] * Fix jstest.rb IE support so you don't have to close the IE window after each test (yay!). Closes #8207. [Ryan Schuft] diff --git a/test/unit/form.html b/test/unit/form.html index ec9a4df..c9a5f3f 100644 --- a/test/unit/form.html +++ b/test/unit/form.html @@ -122,6 +122,10 @@ $('tf_radio').checked = false; }}, + testDollarF: function(){ with(this) { + assertEqual("4", $F("input_enabled")); + }}, + testFormElementEventObserver: function(){ with(this) { var observer = new Form.Element.EventObserver('input_enabled', function(){ callbackCounter++;