aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rhbzpage.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2010-07-18 12:28:24 +0200
committerMatěj Cepl <mcepl@redhat.com>2010-07-18 12:28:24 +0200
commite7447b209031e5e81aa10eba4cd2e8711dece43e (patch)
treeccc2b0d625ba8e0a3fc5f2c6d369e6bff7035504 /lib/rhbzpage.js
parent34ae7055a0f01306be67dc00030af93190deca55 (diff)
downloadbugzilla-triage-e7447b209031e5e81aa10eba4cd2e8711dece43e.tar.gz
Removing fixElement ... we don't need it anymore when we use innerHTML.
Diffstat (limited to 'lib/rhbzpage.js')
-rw-r--r--lib/rhbzpage.js15
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/rhbzpage.js b/lib/rhbzpage.js
index 1e6f52d..6fa16ea 100644
--- a/lib/rhbzpage.js
+++ b/lib/rhbzpage.js
@@ -696,21 +696,6 @@ RHBugzillaPage.prototype.parseAttachmentLine = function(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 + "<b><u>" + accKey + "</u></b>" + afterText;
- return elem;
-};
-
-/**
* Return string with the ID for the external_id SELECT for external bugzilla
*
* @param URLhostname String hostname of the external bugzilla