From d3abb5e7675dd615e7a3b89257dd06ea7a43dac1 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Thu, 9 Nov 2006 22:23:55 +0000 Subject: [PATCH] Monotone-Parent: 458ff8722fb3ab8b060576a603826f911944009c Monotone-Revision: af439d4cfaf788246fb1714d4ac8450f4ff0898a Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-11-09T22:23:55 Monotone-Branch: ca.inverse.sogo --- UI/WebServerResources/HTMLElement.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/UI/WebServerResources/HTMLElement.js b/UI/WebServerResources/HTMLElement.js index 7acadb3a4..3b7b2ba98 100644 --- a/UI/WebServerResources/HTMLElement.js +++ b/UI/WebServerResources/HTMLElement.js @@ -1,4 +1,10 @@ /* custom extensions to the DOM api */ +HTMLElement.prototype.addInterface = function(objectInterface) { + Object.extend(this, objectInterface); + if (this.bind) + this.bind(); +} + HTMLElement.prototype.childNodesWithTag = function(tagName) { var matchingNodes = new Array(); var tagName = tagName.toUpperCase();