зеркало из https://github.com/mozilla/gecko-dev.git
Bug 126487 - Edit attachment as comment was causing an immediate submit instead of letting you edit it in newer Mozilla builds.
r= bbaetz x2
This commit is contained in:
Родитель
e866cee9d4
Коммит
5bf2cc457e
|
@ -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>
|
||||
|
|
Загрузка…
Ссылка в новой задаче