From 37bdd117a0a57c3d39075bd2d972de8dde71520f Mon Sep 17 00:00:00 2001 From: Andrew Dupont Date: Wed, 8 Apr 2009 00:28:40 -0500 Subject: [PATCH] Fix JavaScript error in IE8 when viewing documentation. --- templates/html/assets/javascripts/application.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/html/assets/javascripts/application.js b/templates/html/assets/javascripts/application.js index 00b4e53..e131bc2 100644 --- a/templates/html/assets/javascripts/application.js +++ b/templates/html/assets/javascripts/application.js @@ -309,6 +309,8 @@ Form.GhostedField = Class.create({ this.element = $(element); this.title = title; + options = options || {}; + this.isGhosted = true; if (options.cloak) {