From 83d175be1bafa2b44875c6d8e940c4d5a2e39ef2 Mon Sep 17 00:00:00 2001 From: Thad Guidry Date: Fri, 13 Mar 2020 09:03:45 -0500 Subject: [PATCH] Remove duplicate metadata command registration (#2405) This removes a duplicate set-project-metadata command during Butterfly initialization. Hmm, wondering if this might also fix any issues that we already have regarding startup? --- main/webapp/modules/core/MOD-INF/controller.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main/webapp/modules/core/MOD-INF/controller.js b/main/webapp/modules/core/MOD-INF/controller.js index 237c1ac3b..9a49a72e6 100644 --- a/main/webapp/modules/core/MOD-INF/controller.js +++ b/main/webapp/modules/core/MOD-INF/controller.js @@ -75,8 +75,7 @@ function registerCommands() { RS.registerCommand(module, "delete-project", new Packages.com.google.refine.commands.project.DeleteProjectCommand()); RS.registerCommand(module, "rename-project", new Packages.com.google.refine.commands.project.RenameProjectCommand()); - RS.registerCommand(module, "set-project-metadata", new Packages.com.google.refine.commands.project.SetProjectMetadataCommand()); - + RS.registerCommand(module, "get-models", new Packages.com.google.refine.commands.project.GetModelsCommand()); RS.registerCommand(module, "get-rows", new Packages.com.google.refine.commands.row.GetRowsCommand()); RS.registerCommand(module, "get-processes", new Packages.com.google.refine.commands.history.GetProcessesCommand());