..
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user