From e7447b209031e5e81aa10eba4cd2e8711dece43e Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Sun, 18 Jul 2010 12:28:24 +0200 Subject: Removing fixElement ... we don't need it anymore when we use innerHTML. --- lib/rhbzpage.js | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'lib/rhbzpage.js') diff --git a/lib/rhbzpage.js b/lib/rhbzpage.js index 1e6f52d..6fa16ea 100644 --- a/lib/rhbzpage.js +++ b/lib/rhbzpage.js @@ -695,21 +695,6 @@ RHBugzillaPage.prototype.parseAttachmentLine = function(inElem) { return [ attName, id, MIMEtype, size, inElem ]; }; -/** - * Add accesskey to the particular element - * - * @param rootElement Element to which the new text object will be attached - * @param beforeText Text before the accesskey character - * @param accKey what will be the accesskey itself - * @param afterText text after the accesskey character - * @return modified element with the fixed accesskey - */ -RHBugzillaPage.prototype.fixElement = function(elem, beforeText, accKey, afterText) { - elem.setAttribute("accesskey", accKey.toLowerCase()); - elem.innerHTML = beforeText + "" + accKey + "" + afterText; - return elem; -}; - /** * Return string with the ID for the external_id SELECT for external bugzilla * -- cgit