Ver a proveniência

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

version-14
Makarand Bauskar há 8 anos
committed by GitHub
ascendente
cometimento
b89c69ee60
1 ficheiros alterados com 3 adições e 1 eliminações
  1. +3
    -1
      frappe/public/js/frappe/ui/filters/filters.js

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

@@ -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
Guardar