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 @@ ...@@ -126,7 +126,7 @@
} }
$.fn.activewf.defaults = { $.fn.activewf.defaults = {
serverURL: "http://localhost:8080", serverURL: "",
template: ['<table class="table table-striped table-striped">', template: ['<table class="table table-striped table-striped">',
'<thead>', '<thead>',
'<tr>', '<tr>',
......
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
} }
$.fn.availablewf.defaults = { $.fn.availablewf.defaults = {
serverURL: "http://localhost:8080", serverURL: "",
template: ['<table class="table table-striped table-striped">', template: ['<table class="table table-striped table-striped">',
'<thead>', '<thead>',
'<tr>', '<tr>',
......
...@@ -1414,7 +1414,7 @@ Handsontable.cellTypes["bootdate"] = Handsontable.BootstrapDateCell; ...@@ -1414,7 +1414,7 @@ Handsontable.cellTypes["bootdate"] = Handsontable.BootstrapDateCell;
'<div id="progress"></div>'].join('\n'); '<div id="progress"></div>'].join('\n');
$.fn.wfform.defaults = { $.fn.wfform.defaults = {
serverURL: "http://localhost:8080", serverURL: "",
dateTemplate: [ dateTemplate: [
'<div>', '<div>',
'{{if param.action == "append"}}', '{{if param.action == "append"}}',
......
...@@ -146,7 +146,7 @@ ...@@ -146,7 +146,7 @@
} }
$.fn.wfoutputs.defaults = { $.fn.wfoutputs.defaults = {
serverURL: "http://localhost:8080", serverURL: "",
template: ['<div style="float:right;margin-bottom:14px">', 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_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>', ' <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 @@ ...@@ -460,7 +460,7 @@
} }
$.fn.wfstatus.defaults = { $.fn.wfstatus.defaults = {
serverURL: "http://localhost:8080", serverURL: "",
headTemplate: ['<dl class="dl-horizontal">', headTemplate: ['<dl class="dl-horizontal">',
'<dt>Start</dt>', '<dt>Start</dt>',
'<dd>${workflow.start_time}</dd>', '<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