Ver código fonte

[hotfix] uncaught read property split of undefinded (#3640)

version-14
Makarand Bauskar 8 anos atrás
committed by GitHub
pai
commit
b89c69ee60
1 arquivos alterados com 3 adições e 1 exclusões
  1. +3
    -1
      frappe/public/js/frappe/ui/filters/filters.js

+ 3
- 1
frappe/public/js/frappe/ui/filters/filters.js Ver arquivo

@@ -408,7 +408,9 @@ frappe.ui.Filter = Class.extend({
}
}
} else if(in_list(["in", "not in"], this.get_condition())) {
val = $.map(val.split(","), function(v) { return strip(v); });
if(val) {
val = $.map(val.split(","), function(v) { return strip(v); });
}
} if(val === '%') {
val = "";
}


Carregando…
Cancelar
Salvar