[Basilisk] Issue MoonchildProductions/UXP#516 - Remove named function syntax from basilisk/components/places.

This commit is contained in:
athenian200 2020-03-06 10:42:08 -06:00 committed by Roy Tam
commit 1cceb703f1
9 changed files with 211 additions and 211 deletions

View file

@ -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");