From 109b07971cff8ba983f190647f07d7d50f0758b0 Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Fri, 24 Dec 2021 16:31:18 +0530 Subject: [PATCH] fix: removed unused code from container.js which fixes workspace content loading twice --- frappe/public/js/frappe/views/container.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/frappe/public/js/frappe/views/container.js b/frappe/public/js/frappe/views/container.js index cf1d6c9466..f8cea81fa9 100644 --- a/frappe/public/js/frappe/views/container.js +++ b/frappe/public/js/frappe/views/container.js @@ -40,11 +40,6 @@ frappe.views.Container = class Container { } change_to(label) { cur_page = this; - if(this.page && this.page.label === label) { - $(this.page).trigger('show'); - } - - var me = this; if(label.tagName) { // if sent the div, get the table var page = label;