diff options
author | Guy Pyrzak <guy.pyrzak@gmail.com> | 2011-06-28 22:03:53 -0700 |
---|---|---|
committer | Guy Pyrzak <guy.pyrzak@gmail.com> | 2011-06-28 22:03:53 -0700 |
commit | fb13a2bb7f8802336f8b1d38e3d133af5f5bd501 (patch) | |
tree | 38ea8a91e87466a4ff3e765cedc131f77c4ad5a6 /js | |
parent | d6661a06f7a23885746d34df5452b22df5d95c6f (diff) | |
download | bugs-fb13a2bb7f8802336f8b1d38e3d133af5f5bd501.tar bugs-fb13a2bb7f8802336f8b1d38e3d133af5f5bd501.tar.gz bugs-fb13a2bb7f8802336f8b1d38e3d133af5f5bd501.tar.bz2 bugs-fb13a2bb7f8802336f8b1d38e3d133af5f5bd501.tar.xz bugs-fb13a2bb7f8802336f8b1d38e3d133af5f5bd501.zip |
Bug 652427: Going back to the new bug page loses the description if possible duplicates have been searched for
r=mkanat, r=mkanat
Diffstat (limited to 'js')
-rw-r--r-- | js/bug.js | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -88,11 +88,11 @@ YAHOO.bugzilla.dupTable = { formatCcButton: function(el, oRecord, oColumn, oData) { var url = 'process_bug.cgi?id=' + oRecord.getData('id') + '&addselfcc=1&token=' + escape(oData); - var button = document.createElement('button'); - button.setAttribute('type', 'button'); + var button = document.createElement('a'); + button.setAttribute('href', url); button.innerHTML = YAHOO.bugzilla.dupTable.addCcMessage; - button.onclick = function() { window.location = url; return false; }; el.appendChild(button); + new YAHOO.widget.Button(button); }, init_ds: function() { var new_ds = new YAHOO.util.XHRDataSource("jsonrpc.cgi"); |