Commit 0bc6c8f4 authored by Celine Noirot's avatar Celine Noirot
Browse files

Debug when serverURL is not provided, use the current one.

parent 72ac4d31
......@@ -126,7 +126,7 @@
}
$.fn.activewf.defaults = {
serverURL: "http://localhost:8080",
serverURL: "",
template: ['<table class="table table-striped table-striped">',
'<thead>',
'<tr>',
......
......@@ -90,7 +90,7 @@
}
$.fn.availablewf.defaults = {
serverURL: "http://localhost:8080",
serverURL: "",
template: ['<table class="table table-striped table-striped">',
'<thead>',
'<tr>',
......
......@@ -1414,7 +1414,7 @@ Handsontable.cellTypes["bootdate"] = Handsontable.BootstrapDateCell;
'<div id="progress"></div>'].join('\n');
$.fn.wfform.defaults = {
serverURL: "http://localhost:8080",
serverURL: "",
dateTemplate: [
'<div>',
'{{if param.action == "append"}}',
......
......@@ -146,7 +146,7 @@
}
$.fn.wfoutputs.defaults = {
serverURL: "http://localhost:8080",
serverURL: "",
template: ['<div style="float:right;margin-bottom:14px">',
' <button id="jflow_log_on" class="btn btn-default btn-xs" type="button"><span class="glyphicon glyphicon-eye-open"></span> View log files</button>',
' <button id="jflow_log_off" style="display:none" class="btn btn-default btn-xs" type="button"><span class="glyphicon glyphicon-eye-close"></span> Mask log files</button>',
......
......@@ -460,7 +460,7 @@
}
$.fn.wfstatus.defaults = {
serverURL: "http://localhost:8080",
serverURL: "",
headTemplate: ['<dl class="dl-horizontal">',
'<dt>Start</dt>',
'<dd>${workflow.start_time}</dd>',
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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