Ignore:
Timestamp:
2010-12-14T17:15:30+13:00 (13 years ago)
Author:
sjb48
Message:

Working on saving a format statement to the config file. This looks like it should work but changes in FormatAction have caused major issues with Document/Node violations. This is because saving required the format statement as a Document rather than a string (which did work). Added a check to GSXML for xmlNodeToString to check that attrs is not null (attrs will be null unless the node is an element).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/oran/transform/layouts/main.xsl

    r23336 r23489  
    177177    <td width="75%">
    178178
    179     <button id="updateFormatStatement" type="button" onclick="createFormatStatement()">Update Format Statement</button>
     179    <button id="updateFormatStatement" type="button" onclick="updateFormatStatement()">Update Format Statement</button>
     180    <button id="saveFormatStatement" type="button" onclick="saveFormatStatement()">Save Format Statement</button>
    180181
    181182    <div id="formatStatement">
Note: See TracChangeset for help on using the changeset viewer.