Revert "fix: new compilation creation path should be relative to current url"
This reverts commit 9c5ea6f397
.
This commit is contained in:
parent
8a067151df
commit
e50c4320a4
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@
|
||||||
}
|
}
|
||||||
var iframe = document.createElement("iframe");
|
var iframe = document.createElement("iframe");
|
||||||
var excerptsCounter = $('.compilationDraftExcerpt').length;
|
var excerptsCounter = $('.compilationDraftExcerpt').length;
|
||||||
iframe.setAttribute("src", window.location.href.substring(0, window.location.href.lastIndexOf('/')) + "/editRequestDispatch?typeOfNew=https%3A%2F%2Flitvinovg.pro%2Ftext_structures%23compilation&editForm=edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.CompilationGenerator&excerptsCount=" + excerptsCounter);
|
iframe.setAttribute("src", "${urls.base}/editRequestDispatch?typeOfNew=https%3A%2F%2Flitvinovg.pro%2Ftext_structures%23compilation&editForm=edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.CompilationGenerator&excerptsCount=" + excerptsCounter);
|
||||||
iframe.style.width = "1px";
|
iframe.style.width = "1px";
|
||||||
iframe.style.height = "1px";
|
iframe.style.height = "1px";
|
||||||
iframe.id="newCompilationIframe";
|
iframe.id="newCompilationIframe";
|
||||||
|
|
Loading…
Add table
Reference in a new issue