Commit bc28417f authored by Nicolas Wavrant's avatar Nicolas Wavrant

runner: more understandable function name for UpdateBuildAndRunConfig

parent 9fb64b94
......@@ -76,7 +76,7 @@ $(document).ready(function () {
send = true;
$.ajax({
type: "POST",
url: $SCRIPT_ROOT + '/updateBuildAndRun',
url: $SCRIPT_ROOT + '/updateBuildAndRunConfig',
data: {
run_instance: $("input#run_instance").is(':checked'),
run_software: $("input#run_software").is(':checked'),
......
......@@ -529,7 +529,7 @@ def getParameterXml(request):
#update user-defined slapgrid parameters
def updateBuildAndRun():
def updateBuildAndRunConfig():
code = 1
try:
max_run_instance = int(request.form['max_run_instance'].strip())
......@@ -769,7 +769,7 @@ app.add_url_rule("/getPath", 'getPath', getPath, methods=['POST'])
app.add_url_rule("/myAccount", 'myAccount', myAccount)
app.add_url_rule("/updateAccount", 'updateAccount', updateAccount,
methods=['POST'])
app.add_url_rule("/updateBuildAndRun", 'updateBuildAndRun', updateBuildAndRun,
app.add_url_rule("/updateBuildAndRunConfig", 'updateBuildAndRunConfig', updateBuildAndRunConfig,
methods=['POST'])
app.add_url_rule("/fileBrowser", 'fileBrowser', fileBrowser,
methods=['GET', 'POST'])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment