summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorjake%acutex.net <>2002-02-20 07:01:33 +0100
committerjake%acutex.net <>2002-02-20 07:01:33 +0100
commit9cf1d832517e3c4174359290f72e792e99104fcd (patch)
treeb994702891d5ad0e9c286ac9dfb337ab5988827c /template
parent97bea3c759614d69f341e56dd5a2bb3641c43f94 (diff)
downloadbugzilla-9cf1d832517e3c4174359290f72e792e99104fcd.tar.gz
bugzilla-9cf1d832517e3c4174359290f72e792e99104fcd.tar.xz
Bug 126487 - Edit attachment as comment was causing an immediate submit instead of letting you edit it in newer Mozilla builds.
r= bbaetz x2
Diffstat (limited to 'template')
-rwxr-xr-xtemplate/default/attachment/edit.atml6
1 files changed, 3 insertions, 3 deletions
diff --git a/template/default/attachment/edit.atml b/template/default/attachment/edit.atml
index c9a2980b3..8b4f4ea78 100755
--- a/template/default/attachment/edit.atml
+++ b/template/default/attachment/edit.atml
@@ -188,9 +188,9 @@
<script type="application/x-javascript" language="JavaScript">
<!--
if (typeof document.getElementById == "function") {
- document.write('<button id="editButton" onclick="editAsComment();">Edit Attachment As Comment</button>');
- document.write('<button id="undoEditButton" onclick="undoEditAsComment();" style="display: none;">Undo Edit As Comment</button>');
- document.write('<button id="redoEditButton" onclick="redoEditAsComment();" style="display: none;">Redo Edit As Comment</button>');
+ document.write('<button type="button" id="editButton" onclick="editAsComment();">Edit Attachment As Comment</button>');
+ document.write('<button type="button" id="undoEditButton" onclick="undoEditAsComment();" style="display: none;">Undo Edit As Comment</button>');
+ document.write('<button type="button" id="redoEditButton" onclick="redoEditAsComment();" style="display: none;">Redo Edit As Comment</button>');
}
//-->
</script>