Changeset 26741


Ignore:
Timestamp:
2013-01-17T18:44:04+13:00 (9 years ago)
Author:
davidb
Message:

Added back in line to call method for adding notes to an item's doc.xml file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • other-projects/GlamED/trunk/src/org/honours/greenstone/CollectionContentEditor.java

    r26698 r26741  
    6161       
    6262        noChange = writeFrameID(afr,noChange);
    63        
     63        noChange = addNotes();
    6464        //addNotes();
    6565       
     
    108108     * doc.xml file.
    109109     */
    110     private void addNotes() {
     110    private boolean addNotes() {
    111111        //Add notes to docXML file.
    112112        NoteLayer noteLayer = _collectionItem.getNoteLayer();
     
    128128            }
    129129           
     130            notesStringBuffer.append("</tbody>");
    130131            notesStringBuffer.append("</table>");
    131132           
     
    137138                _archiveFileEditor.editArchiveDocFile(notesText);
    138139            }
     140           
     141            System.err.println("Writing out notes...");
     142            return false;       //false equates to a change.
    139143        }
     144       
     145        return true;    //true equates to "no change"
    140146    }
    141147
Note: See TracChangeset for help on using the changeset viewer.