mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 07:17:32 +09:00
[Basilisk] Issue MoonchildProductions/UXP#516 - Remove named function syntax from basilisk/components/places.
This commit is contained in:
parent
d546845b66
commit
1cceb703f1
9 changed files with 211 additions and 211 deletions
|
|
@ -22,7 +22,7 @@ var gMoveBookmarksDialog = {
|
|||
PlacesUIUtils.allBookmarksFolderId;
|
||||
},
|
||||
|
||||
onOK: function MBD_onOK(aEvent) {
|
||||
onOK: function(aEvent) {
|
||||
let selectedNode = this.foldersTree.selectedNode;
|
||||
let selectedFolderId = PlacesUtils.getConcreteItemId(selectedNode);
|
||||
|
||||
|
|
@ -57,7 +57,7 @@ var gMoveBookmarksDialog = {
|
|||
}.bind(this)).then(null, Components.utils.reportError);
|
||||
},
|
||||
|
||||
newFolder: function MBD_newFolder() {
|
||||
newFolder: function() {
|
||||
// The command is disabled when the tree is not focused
|
||||
this.foldersTree.focus();
|
||||
goDoCommand("placesCmd_new:folder");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue