Bug 956782 - Swap order of search and share in actionbar. r=mfinkle

This commit is contained in:
Wes Johnston 2014-01-15 13:40:00 -08:00
Родитель 72347ed5ba
Коммит e7ab2c4d4b
1 изменённых файлов: 5 добавлений и 4 удалений

Просмотреть файл

@ -410,7 +410,7 @@ var SelectionHandler = {
SelectionHandler.selectAll(aElement); SelectionHandler.selectAll(aElement);
}, },
selector: ClipboardHelper.selectAllContext, selector: ClipboardHelper.selectAllContext,
order: 1, order: 5,
}, },
CUT: { CUT: {
@ -427,7 +427,7 @@ var SelectionHandler = {
// copySelection closes the selection. Show a caret where we just cut the text. // copySelection closes the selection. Show a caret where we just cut the text.
SelectionHandler.attachCaret(aElement); SelectionHandler.attachCaret(aElement);
}, },
order: 1, order: 4,
selector: ClipboardHelper.cutContext, selector: ClipboardHelper.cutContext,
}, },
@ -438,7 +438,7 @@ var SelectionHandler = {
action: function() { action: function() {
SelectionHandler.copySelection(); SelectionHandler.copySelection();
}, },
order: 1, order: 3,
selector: ClipboardHelper.getCopyContext(false) selector: ClipboardHelper.getCopyContext(false)
}, },
@ -451,7 +451,7 @@ var SelectionHandler = {
SelectionHandler._positionHandles(); SelectionHandler._positionHandles();
SelectionHandler._updateMenu(); SelectionHandler._updateMenu();
}, },
order: 1, order: 2,
selector: ClipboardHelper.pasteContext, selector: ClipboardHelper.pasteContext,
}, },
@ -475,6 +475,7 @@ var SelectionHandler = {
SelectionHandler.searchSelection(); SelectionHandler.searchSelection();
SelectionHandler._closeSelection(); SelectionHandler._closeSelection();
}, },
order: 1,
selector: ClipboardHelper.searchWithContext, selector: ClipboardHelper.searchWithContext,
}, },