Browse Source
Merge pull request #15439 from shariquerik/container-js-fix
fix: Workspace content loading twice
version-14
mergify[bot]
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
5 deletions
-
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; |
|
|
|