зеркало из https://github.com/mozilla/pjs.git
Bug 211507 Shift tab doesn't undent regression r=brade sr=mscott
This commit is contained in:
Родитель
9341cc7c38
Коммит
0f58f2661e
|
@ -2539,18 +2539,10 @@ function subjectKeyPress(event)
|
|||
}
|
||||
}
|
||||
|
||||
function editorKeyPress(event)
|
||||
{
|
||||
if (event.keyCode == 9) {
|
||||
if (event.shiftKey && !event.getPreventDefault()) {
|
||||
document.getElementById('msgSubject').focus();
|
||||
event.preventDefault();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function AttachmentBucketClicked(event)
|
||||
{
|
||||
event.currentTarget.focus();
|
||||
|
||||
if (event.button != 0)
|
||||
return;
|
||||
|
||||
|
|
|
@ -455,6 +455,7 @@
|
|||
<label id="attachmentBucketText" value="&attachments.label;" crop="right"
|
||||
accesskey="&attachments.accesskey;" control="attachmentBucket"/>
|
||||
<listbox seltype="multiple" id="attachmentBucket" flex="1" rows="4"
|
||||
style="-moz-user-focus: none;"
|
||||
context="msgComposeAttachmentContext"
|
||||
onkeypress="if (event.keyCode == 8 || event.keyCode == 46) RemoveSelectedAttachment();"
|
||||
onclick="AttachmentBucketClicked(event);"
|
||||
|
@ -494,7 +495,7 @@
|
|||
<!-- The mail message body frame -->
|
||||
<vbox id="appcontent" flex="1">
|
||||
<editor type="content-primary" id="content-frame" src="about:blank" name="browser.message.body" flex="1"
|
||||
onkeypress="editorKeyPress(event);" context="msgComposeContext"/>
|
||||
context="msgComposeContext"/>
|
||||
</vbox>
|
||||
|
||||
<statusbar id="status-bar" class="chromeclass-status">
|
||||
|
|
Загрузка…
Ссылка в новой задаче