fix: Add fieldname property (#6349)
This commit is contained in:
parent
35d08c124e
commit
db0889131d
1 changed files with 1 additions and 1 deletions
|
|
@ -623,7 +623,7 @@ export default class Grid {
|
|||
// upload
|
||||
frappe.flags.no_socketio = true;
|
||||
$(this.wrapper).find(".grid-upload").removeClass("hide").on("click", function() {
|
||||
frappe.prompt({fieldtype:"Attach", label:"Upload File"},
|
||||
frappe.prompt({fieldtype:"Attach", label:"Upload File", fieldname: "upload_file"},
|
||||
function(data) {
|
||||
var data = frappe.utils.csv_to_array(frappe.upload.get_string(data.upload_file));
|
||||
// row #2 contains fieldnames;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue