зеркало из https://github.com/mozilla/gecko-dev.git
Bug 418517 - Add "Select All" button to Page Info "Media" tab r=jaws
This commit is contained in:
Родитель
b2acb2627f
Коммит
30c7e39b9d
|
@ -1240,6 +1240,14 @@ function doCopy()
|
|||
}
|
||||
}
|
||||
|
||||
function doSelectAllMedia()
|
||||
{
|
||||
var tree = document.getElementById("imagetree");
|
||||
|
||||
if (tree)
|
||||
tree.view.selection.selectAll();
|
||||
}
|
||||
|
||||
function doSelectAll()
|
||||
{
|
||||
var elem = document.commandDispatcher.focusedElement;
|
||||
|
|
|
@ -235,6 +235,9 @@
|
|||
<label control="thepreviewimage" value="&mediaPreview;" class="header"/>
|
||||
</vbox>
|
||||
<spacer id="imageSaveBoxSpacer" flex="1"/>
|
||||
<button label="&selectall.label;" accesskey="&selectall.accesskey;"
|
||||
id="selectallbutton"
|
||||
oncommand="doSelectAllMedia();"/>
|
||||
<button label="&mediaSaveAs;" accesskey="&mediaSaveAs.accesskey;"
|
||||
icon="save" id="imagesaveasbutton"
|
||||
oncommand="saveMedia();"/>
|
||||
|
|
Загрузка…
Ссылка в новой задаче