Changeset 31067


Ignore:
Timestamp:
2016-11-07T11:25:52+13:00 (5 years ago)
Author:
kjdon
Message:

get the 'top level menu' text from the dictionary

File:
1 edited

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
Note: See TracChangeset for help on using the changeset viewer.