зеркало из https://github.com/mozilla/gecko-dev.git
Bug 956782 - Swap order of search and share in actionbar. r=mfinkle
This commit is contained in:
Родитель
72347ed5ba
Коммит
e7ab2c4d4b
|
@ -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,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче