Ignore:
Timestamp:
2005-09-20T12:34:40+12:00 (19 years ago)
Author:
mdewsnip
Message:

Fixed a nasty bug discovered at the 2005 Fiji workshop: if you enter a metadata value in the Enrich pane and then leave the pane before the value is saved (ie. pressing Enter, or Up or Down, or choosing another file or metadata element), all the metadata in the folder is lost.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/gui/EnrichPane.java

    r10547 r10604  
    202202    public void loseFocus()
    203203    {
     204    // Very important: make sure metadata value is saved before leaving the pane
     205    metadata_value_table_pane.stopEditingAndRebuild(file_nodes);
     206
    204207    // Upload the modified metadata.xml files to the server now, if we're using one
    205208    MetadataXMLFileManager.uploadModifiedMetadataXMLFiles();
Note: See TracChangeset for help on using the changeset viewer.