edit-jobset.tt: Retain old inputs with dashes in their name

[?]
Mar 6, 2014, 12:50 PM
EWMC72QYKVI52XFZXUVWGQ3XPMUMXGVXGHSYVQXYC62Q6NNEGIPQC

Dependencies

  • [2] VZX6HJ3I Fix jobset input handling in the API
  • [3] NIX2TKYV Use redirectJSON
  • [4] TQVKZQUG Use the REST API in the web interface for editing jobsets
  • [*] OX6NYJDV Split viewing and editing a jobset

Change contents

  • replacement in src/root/edit-jobset.tt at line 186
    [2.549][2.549:607]()
    var match = elem.name.match(/^input-(\w+)-(\w+)$/);
    [2.549]
    [2.607]
    var match = elem.name.match(/^input-([A-Za-z][\w-]*)-(\w+)$/);