Add actual field name to question
This commit is contained in:
parent
eda65f51ed
commit
6f9c71fc89
2
prpw-tui
2
prpw-tui
@ -92,7 +92,7 @@ local function fieldSetType(entry,field)
|
||||
end
|
||||
|
||||
local function fieldRemove(entry,field)
|
||||
if not yn("Do you want to remove the field '" .. "'?") then return end
|
||||
if not yn("Do you want to remove the field '" ..field.attrs.name.. "'?") then return end
|
||||
makeEntryBackup(entry.attrs.id)
|
||||
env.run({"field_remove",entry.attrs.id,field.attrs.name})
|
||||
env.run({"save"})
|
||||
|
Loading…
Reference in New Issue
Block a user