Changeset 31050

Show
Ignore:
Timestamp:
03.11.2016 13:41:51 (3 years ago)
Author:
kjdon
Message:

added empty var and some comments for new autocompletion of meta values when editing metadata

Files:
1 modified

Legend:

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

    r30779 r31050  
    3232/* Metadata elements to be used in the fixedlist/autocomplete options above */ 
    3333var availableMetadataElements = ["dc.Title", "dc.Subject"]; 
     34/* metadata elements that have a list of values/suggestions */ 
     35var autocompleteMetadata = new Array(); 
     36/* for each metadata element specified here, one should provide an array of values. The name is the meta_name + "_values", but you must strip . and _ from the name. 
     37for example 
     38var autocompleteMetadata = ["dc.Subject"]; 
     39var dcSubject_values = ["Kings", "Queens", "others"]; 
     40*/ 
     41 
    3442/******************** 
    3543* EXPANSION SCRIPTS *