From 9bc56539b1da294bb37dc7dca438b7727382e2f3 Mon Sep 17 00:00:00 2001 From: Oleg Zharkov Date: Mon, 15 Feb 2021 14:40:32 +0200 Subject: [PATCH] another little legacy code removal --- client/src/mvc/library/library-dataset-view.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/client/src/mvc/library/library-dataset-view.js b/client/src/mvc/library/library-dataset-view.js index f0ba308722d..6d4aa0f09d1 100644 --- a/client/src/mvc/library/library-dataset-view.js +++ b/client/src/mvc/library/library-dataset-view.js @@ -293,15 +293,6 @@ var LibraryDatasetView = Backbone.View.extend({ ); }, - _serializeRoles: function (role_list) { - var selected_roles = []; - for (var i = 0; i < role_list.length; i++) { - // Replace the : and , in role's name since these are select2 separators for initialData - selected_roles.push(`${role_list[i][1]}:${role_list[i][0].replace(":", " ").replace(",", " &")}`); - } - return selected_roles; - }, - detectDatatype: function (options) { const ld = this.model; ld.set("file_ext", "auto");