Ver código fonte

fix: removed unused code from container.js which fixes workspace content loading twice

version-14
Shariq Ansari 3 anos atrás
pai
commit
109b07971c
1 arquivos alterados com 0 adições e 5 exclusões
  1. +0
    -5
      frappe/public/js/frappe/views/container.js

+ 0
- 5
frappe/public/js/frappe/views/container.js Ver arquivo

@@ -40,11 +40,6 @@ frappe.views.Container = class Container {
} }
change_to(label) { change_to(label) {
cur_page = this; cur_page = this;
if(this.page && this.page.label === label) {
$(this.page).trigger('show');
}

var me = this;
if(label.tagName) { if(label.tagName) {
// if sent the div, get the table // if sent the div, get the table
var page = label; var page = label;


Carregando…
Cancelar
Salvar