mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-27 20:25:44 +00:00
Bug 365002 - newFolder/Separator methods should not try to focus the controller's view. r=sspitzer.
This commit is contained in:
parent
ad3b0edb52
commit
e24cbab04c
@ -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();
|
||||
},
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user