This commit is contained in:
Ross
2021-02-05 14:36:45 +00:00
parent c3fa92351d
commit 0be255b779
2 changed files with 16 additions and 4 deletions
+7
View File
@@ -362,3 +362,10 @@ function keyDownHandler(e) {
break;
}
}
function popitup(url, title) {
newwindow=window.open(url,title,'height=600,width=500');
if (window.focus) {newwindow.focus()}
return false;
}
@@ -11,7 +11,12 @@
{% for series in question.series.all %}
<span class="series-block">
Series {{ forloop.counter }}:
<a href="{% url 'longs:long_series_detail' pk=series.pk %}">
{{series.get_block}}
</a>
<a href="test.html" onclick="return popitup(`/longs/series/${series.pk}`)"
>Test</a>
</span>
{% endfor %}
</div>