We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbc3f66 commit fde518bCopy full SHA for fde518b
src/main/webapp/WEB-INF/views/series/add.html
@@ -16,7 +16,9 @@
16
<link rel="stylesheet" href="../../static/styles/main.css" th:href="${MAIN_CSS}" />
17
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/selectize.js/0.12.3/css/selectize.bootstrap3.min.css" th:href="${SELECTIZE_CSS}" />
18
</head>
19
- <body th:onload="|initPage('@{${SUGGEST_SERIES_COUNTRY}}')|" onload="initPage(null)">
+ <body th:with="suggestCountryUrl=${addSeriesForm.country != null and addSeriesForm.country.slug != null ? 'null' : '''__@{${SUGGEST_SERIES_COUNTRY}}__'''}"
20
+ th:onload="|initPage(${suggestCountryUrl})|"
21
+ onload="initPage(null)">
22
<div class="container-fluid">
23
<div class="row" id="header">
24
<div id="logo" class="col-sm-9 vcenter">
0 commit comments