mirror of
https://github.com/evilhero/mylar
synced 2024-12-23 08:12:41 +00:00
Fixed "add series" link on Weekly Pull List
Hitting "add series" for a comic that has a special character in it (usually &) would break. The "name" value in the url is escaped
This commit is contained in:
parent
74247b8e7c
commit
7b6389b4a4
1 changed files with 2 additions and 2 deletions
|
@ -72,7 +72,7 @@
|
||||||
<td id="status">${weekly['STATUS']}
|
<td id="status">${weekly['STATUS']}
|
||||||
%if weekly['STATUS'] == 'Skipped':
|
%if weekly['STATUS'] == 'Skipped':
|
||||||
[<a href="#" onclick="doAjaxCall('queueissue?ComicName=${weekly['COMIC']}&ComicIssue=${weekly['ISSUE']}&mode=want',$(this),'table')" data-success="'${weekly['COMIC']}' #'${weekly['ISSUE']}' marked as wanted">want</a>]
|
[<a href="#" onclick="doAjaxCall('queueissue?ComicName=${weekly['COMIC']}&ComicIssue=${weekly['ISSUE']}&mode=want',$(this),'table')" data-success="'${weekly['COMIC']}' #'${weekly['ISSUE']}' marked as wanted">want</a>]
|
||||||
<td id="add"><a href="searchit?name=${weekly['COMIC']}&issue=${weekly['ISSUE']}&mode=pullseries"><span class="ui-icon ui-icon-plus"></span>add series</a></td>
|
<td id="add"><a href="searchit?name=${weekly['COMIC'] | u}&issue=${weekly['ISSUE']}&mode=pullseries"><span class="ui-icon ui-icon-plus"></span>add series</a></td>
|
||||||
%elif (weekly['STATUS'] == 'Wanted'):
|
%elif (weekly['STATUS'] == 'Wanted'):
|
||||||
[<a href="#" onclick="doAjaxCall('unqueueissue?IssueID=${weekly['COMIC']}&ComicID=${weekly['ISSUE']}',$(this),'table')" data-success="'${weekly['COMIC']}' skipped">skip</a>]
|
[<a href="#" onclick="doAjaxCall('unqueueissue?IssueID=${weekly['COMIC']}&ComicID=${weekly['ISSUE']}',$(this),'table')" data-success="'${weekly['COMIC']}' skipped">skip</a>]
|
||||||
%else:
|
%else:
|
||||||
|
@ -98,7 +98,7 @@
|
||||||
<td id="status">${weekly['STATUS']}
|
<td id="status">${weekly['STATUS']}
|
||||||
%if weekly['STATUS'] == 'Skipped':
|
%if weekly['STATUS'] == 'Skipped':
|
||||||
[<a href="#" onclick="doAjaxCall('queueissue?ComicName=${weekly['COMIC']}&ComicIssue=${weekly['ISSUE']}&mode=want',$(this),'table')" data-success="'${weekly['COMIC']}' #'${weekly['ISSUE']}' marked as wanted">want</a>]
|
[<a href="#" onclick="doAjaxCall('queueissue?ComicName=${weekly['COMIC']}&ComicIssue=${weekly['ISSUE']}&mode=want',$(this),'table')" data-success="'${weekly['COMIC']}' #'${weekly['ISSUE']}' marked as wanted">want</a>]
|
||||||
<td id="add"><a href="searchit?name=${weekly['COMIC']}&issue=${weekly['ISSUE']}&mode=pullseries"><span class="ui-icon ui-icon-plus"></span>add series</a></td>
|
<td id="add"><a href="searchit?name=${weekly['COMIC'] | u}&issue=${weekly['ISSUE']}&mode=pullseries"><span class="ui-icon ui-icon-plus"></span>add series</a></td>
|
||||||
%elif (weekly['STATUS'] == 'Wanted'):
|
%elif (weekly['STATUS'] == 'Wanted'):
|
||||||
[<a href="#" onclick="doAjaxCall('unqueueissue?IssueID=${weekly['COMIC']}&ComicID=${weekly['ISSUE']}',$(this),'table')" data-success="'${weekly['COMIC']}' skipped">skip</a>]
|
[<a href="#" onclick="doAjaxCall('unqueueissue?IssueID=${weekly['COMIC']}&ComicID=${weekly['ISSUE']}',$(this),'table')" data-success="'${weekly['COMIC']}' skipped">skip</a>]
|
||||||
%else:
|
%else:
|
||||||
|
|
Loading…
Reference in a new issue