From 032ce0f71b8f7043a0819639e84fd652deb414e4 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Thu, 11 Mar 2010 14:17:44 +0100 Subject: [PATCH] Use element storage. --- horde/js/tooltips.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/horde/js/tooltips.js b/horde/js/tooltips.js index 9a0e59ba3..0061d8138 100644 --- a/horde/js/tooltips.js +++ b/horde/js/tooltips.js @@ -20,7 +20,7 @@ var Horde_ToolTips = if (!t) { return; } - e.setAttribute('nicetitle', t); + e.store('nicetitle', t); e.removeAttribute('title'); e.observe('mouseover', this.onMouseover.bindAsEventListener(this)); e.observe('mouseout', this.out.bind(this)); @@ -86,11 +86,11 @@ var Horde_ToolTips = } link = this.element; - while (!link.readAttribute('nicetitle') && link.match('BODY')) { + while (!link.retrieve('nicetitle') && link.match('BODY')) { link = link.up(); } - nicetitle = link.readAttribute('nicetitle'); + nicetitle = link.retrieve('nicetitle'); if (!nicetitle) { return; } -- 2.11.0