зеркало из https://github.com/mozilla/pjs.git
Bug 365002 - newFolder/Separator methods should not try to focus the controller's view. r=sspitzer.
This commit is contained in:
Родитель
4a6b8126bd
Коммит
dc579702cc
|
@ -1167,7 +1167,6 @@ PlacesController.prototype = {
|
|||
var txn = new PlacesCreateFolderTransaction(value.value, ip.folderId,
|
||||
ip.index);
|
||||
PlacesUtils.tm.doTransaction(txn);
|
||||
this._view.focus();
|
||||
view.restoreSelection();
|
||||
}
|
||||
},
|
||||
|
@ -1181,7 +1180,6 @@ PlacesController.prototype = {
|
|||
throw Cr.NS_ERROR_NOT_AVAILABLE;
|
||||
var txn = new PlacesCreateSeparatorTransaction(ip.folderId, ip.index);
|
||||
PlacesUtils.tm.doTransaction(txn);
|
||||
this._view.focus();
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Загрузка…
Ссылка в новой задаче