From 94747c579f248d9dfda1b8ef8d37ebeffa2cf151 Mon Sep 17 00:00:00 2001 From: Tobie Langel Date: Sun, 23 Aug 2009 23:24:36 +0200 Subject: [PATCH] Avoid triggering a warning when Java is disabled in IE8. [#668 state:resolved] --- CHANGELOG | 2 ++ src/dom/dom.js | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 6326501..d42b884 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,5 @@ +* Avoid triggering warning when Java is disabled in IE8. [#668 state:resolved] (orv, kangax, Andrew Dupont, Tobie Langel) + * Simplify String#(un)escapeHTML and remove their DOM dependencies. (Tobie Langel) * Update UnittestJS. Modifiy test template accordingly. (Tobie Langel) diff --git a/src/dom/dom.js b/src/dom/dom.js index 033d963..5713f03 100644 --- a/src/dom/dom.js +++ b/src/dom/dom.js @@ -1696,14 +1696,12 @@ Element.extend = (function() { } var HTMLOBJECTELEMENT_PROTOTYPE_BUGGY = checkDeficiency('object'); - var HTMLAPPLETELEMENT_PROTOTYPE_BUGGY = checkDeficiency('applet'); if (Prototype.BrowserFeatures.SpecificElementExtensions) { // IE8 has a bug with `HTMLObjectElement` and `HTMLAppletElement` objects // not being able to "inherit" from `Element.prototype` // or a specific prototype - `HTMLObjectElement.prototype`, `HTMLAppletElement.prototype` - if (HTMLOBJECTELEMENT_PROTOTYPE_BUGGY && - HTMLAPPLETELEMENT_PROTOTYPE_BUGGY) { + if (HTMLOBJECTELEMENT_PROTOTYPE_BUGGY) { return function(element) { if (element && typeof element._extendedByPrototype == 'undefined') { var t = element.tagName;