#444: Multi-Edit: deleting field in UI does not delete "unsaved" subfields
------------------------+---------------------------------------------------
Reporter: jcaffaro | Owner:
Type: defect | Status: new
Priority: minor | Milestone:
Component: BibEdit | Version:
Keywords: Multi-Edit |
------------------------+---------------------------------------------------
In Multi-Edit, the Javascript function "onButtonDeleteFieldClick()" does
not delete the subfield actions rows that have not yet been "saved",
leaving these rows dangling in the UI table, forcing the user to reload
the page and start again. Not sure about the effect when applying the
changes if such rows remain.
To reproduce:
"Define new field action" -> Select action "Add Field" -> "Define new
subfield action" -> click on small red "delete" for this row (class
"buttonDeleteField").
The function is attached to the "delete" icon in bibeditmulti.js with
{{{$(".buttonDeleteField").bind("click", onButtonDeleteFieldClick);}}}
--
Ticket URL: <http://invenio-software.org/ticket/444>
Invenio <http://invenio-software.org>