Changeset 33088

Show
Ignore:
Timestamp:
16.05.2019 20:19:37 (8 days ago)
Author:
wy59
Message:

Fixed the bug described in the previous commit (but it had been wrongly described in reverse).

Location:
main/trunk/greenstone3/web/interfaces/default
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/js/map-scripts-editor.js

    r33086 r33088  
    350350    // store reference to added overlay 
    351351    google.maps.event.addListener(this.drawingManager, 'overlaycomplete', function (e) { 
    352         document.getElementById("description" + "-" + that.id).value = ""; 
    353         var value = document.getElementById("description" + "-" + that.id).value; 
    354352        that.allowDeselect = true; 
    355353        that.mapEditorHistory.historyOverlayPush(); 
  • main/trunk/greenstone3/web/interfaces/default/transform/pages/document.xsl

    r33087 r33088  
    277277                        <div id = "FourthRow"> 
    278278                            <p>Label Text: 
    279                                 <input type="text" id="description-{@nodeID}" />     
     279                                <input type="text" id="description-{@nodeID}" value="" />    
    280280                            </p> 
    281281                        </div>