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 () { ...@@ -76,7 +76,7 @@ $(document).ready(function () {
send = true; send = true;
$.ajax({ $.ajax({
type: "POST", type: "POST",
url: $SCRIPT_ROOT + '/updateBuildAndRun', url: $SCRIPT_ROOT + '/updateBuildAndRunConfig',
data: { data: {
run_instance: $("input#run_instance").is(':checked'), run_instance: $("input#run_instance").is(':checked'),
run_software: $("input#run_software").is(':checked'), run_software: $("input#run_software").is(':checked'),
......
...@@ -529,7 +529,7 @@ def getParameterXml(request): ...@@ -529,7 +529,7 @@ def getParameterXml(request):
#update user-defined slapgrid parameters #update user-defined slapgrid parameters
def updateBuildAndRun(): def updateBuildAndRunConfig():
code = 1 code = 1
try: try:
max_run_instance = int(request.form['max_run_instance'].strip()) max_run_instance = int(request.form['max_run_instance'].strip())
...@@ -769,7 +769,7 @@ app.add_url_rule("/getPath", 'getPath', getPath, methods=['POST']) ...@@ -769,7 +769,7 @@ app.add_url_rule("/getPath", 'getPath', getPath, methods=['POST'])
app.add_url_rule("/myAccount", 'myAccount', myAccount) app.add_url_rule("/myAccount", 'myAccount', myAccount)
app.add_url_rule("/updateAccount", 'updateAccount', updateAccount, app.add_url_rule("/updateAccount", 'updateAccount', updateAccount,
methods=['POST']) methods=['POST'])
app.add_url_rule("/updateBuildAndRun", 'updateBuildAndRun', updateBuildAndRun, app.add_url_rule("/updateBuildAndRunConfig", 'updateBuildAndRunConfig', updateBuildAndRunConfig,
methods=['POST']) methods=['POST'])
app.add_url_rule("/fileBrowser", 'fileBrowser', fileBrowser, app.add_url_rule("/fileBrowser", 'fileBrowser', fileBrowser,
methods=['GET', 'POST']) 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