validation/static/validation/js/modelversions.js
// Define a function to set the Version picklist to only a given model
Define a function to set the Version picklist to only a given model
Define a function to set the Version picklist to only a given model
function defineVersions(event) {
    var modelName = cmSelect.children("option").filter(":selected").text();
    vSelect.empty();
    var versions = versionArray[modelName];
    for (var i = 0; i < versions.length; i++) {
      vSelect.append(versions[i]);
    }
  }
function defineVersions ( event ) { var modelName = cmSelect . children ( "option" ) . filter ( ":selected" ) . text ( ) ; vSelect . empty ( ) ; var versions = versionArray [ modelName ] ; for ( var i = 0 ; i < versions . length ; i ++ ) { vSelect . append ( versions [ i ] ) ; } }
Define a function to set the Version picklist to only a given model
Define a function to set the Version picklist to only a given model