Changeset 31067

Show
Ignore:
Timestamp:
07.11.2016 11:25:52 (3 years ago)
Author:
kjdon
Message:

get the 'top level menu' text from the dictionary

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/js/hierarchy.js

    r31064 r31067  
    11//hierarchy storage object 
    22 
    3 //hierarchy menu Button text 
    4 var hierarchyMenuButton = "Menu"; 
    53//Find first ancestor element by tag name 
    64function findAncestorByTagName (element, tagName) { 
     
    159157        //get current MetaDataName 
    160158        var metaName = getMetaName(row); 
    161         defaultHierarchyButtonText = 'Top level menu'; 
     159                defaultHierarchyButtonText = gs.text.de.top_level_menu; //'Top level menu'; 
    162160        var hierarchyButtonText = defaultHierarchyButtonText; 
    163161        // Check if textarea already contain right menu key