Use redirectJSON

[?]
Oct 14, 2013, 3:35 PM
NIX2TKYVRRIQNW447RY2HKV6LMGWJIROXBWPMGAY744PI4OTST6AC

Dependencies

  • [2] ZFEN2MAO Simplify jobset cloning
  • [3] TQVKZQUG Use the REST API in the web interface for editing jobsets
  • [4] JY7BXXOP Split viewing and editing a project
  • [5] OX6NYJDV Split viewing and editing a jobset

Change contents

  • replacement in src/root/edit-jobset.tt at line 177
    [3.2745][3.2745:2763]()
    requestJSON({
    [3.2745]
    [2.1668]
    redirectJSON({
  • replacement in src/root/edit-jobset.tt at line 184
    [3.2998][3.2998:3099]()
    type: 'PUT',
    success: function(data) {
    window.location = data.redirect;
    },
    [3.2998]
    [3.3099]
    type: 'PUT'
  • replacement in src/root/edit-project.tt at line 69
    [3.3217][3.3217:3235]()
    requestJSON({
    [3.3217]
    [3.3235]
    redirectJSON({
  • replacement in src/root/edit-project.tt at line 76
    [3.3447][3.3447:3548]()
    type: 'PUT',
    success: function(data) {
    window.location = data.redirect;
    },
    [3.3447]
    [3.3548]
    type: 'PUT'