提交 1d9bbfa0 编写于 作者: W Wadeck Follonier

[JENKINS-51660] Correct default URL proposed

上级 a34f7631
......@@ -106,7 +106,8 @@ THE SOFTWARE.
$('root-url').focus();
(function setInitialRootUrlFieldValue(){
var iframeUrl = window.location.href;
var iframeRelativeUrl = '/setupWizard/setupWizardConfigureInstance';
// will let the trailing slash in the rootUrl
var iframeRelativeUrl = 'setupWizard/setupWizardConfigureInstance';
var rootUrl = iframeUrl.substr(0, iframeUrl.length - iframeRelativeUrl.length);
// to keep only the root url
var rootUrlField = $('root-url');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册