diff options
author | jake%acutex.net <> | 2002-02-20 07:01:33 +0100 |
---|---|---|
committer | jake%acutex.net <> | 2002-02-20 07:01:33 +0100 |
commit | 9cf1d832517e3c4174359290f72e792e99104fcd (patch) | |
tree | b994702891d5ad0e9c286ac9dfb337ab5988827c /template | |
parent | 97bea3c759614d69f341e56dd5a2bb3641c43f94 (diff) | |
download | bugzilla-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-x | template/default/attachment/edit.atml | 6 |
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> |