mirror of
https://github.com/evilhero/mylar
synced 2024-12-31 20:15:21 +00:00
Fix for popup error when doing multiple selections, removed unnecessary print statements from importer
This commit is contained in:
parent
c791e0a2fc
commit
99cd3e25eb
3 changed files with 7 additions and 7 deletions
|
@ -182,7 +182,7 @@
|
|||
|
||||
<form action="markissues" method="get" id="markissues">
|
||||
<div id="markissue">Mark selected issues as
|
||||
<select name="action" onChange="doAjaxCall('markissues',$(this),'table',true);">
|
||||
<select name="action" onChange="doAjaxCall('markissues',$(this),'table',true);" data-success="selected issues marked">
|
||||
<option disabled="disabled" selected="selected">Choose...</option>
|
||||
<option value="Wanted">Wanted</option>
|
||||
<option value="Skipped">Skipped</option>
|
||||
|
|
|
@ -490,7 +490,7 @@ def GCDimport(gcomicid):
|
|||
#---NEW.code
|
||||
try:
|
||||
gcdval = gcdinfo['gcdchoice'][bb]
|
||||
print ("gcdval: " + str(gcdval))
|
||||
#print ("gcdval: " + str(gcdval))
|
||||
except IndexError:
|
||||
#account for gcd variation here
|
||||
if gcdinfo['gcdvariation'] == 'gcd':
|
||||
|
|
|
@ -218,7 +218,7 @@ class WebInterface(object):
|
|||
else:
|
||||
newaction = action
|
||||
for IssueID in args:
|
||||
if IssueID is None: break
|
||||
if IssueID is None: continue
|
||||
else:
|
||||
mi = myDB.action("SELECT * FROM issues WHERE IssueID=?",[IssueID]).fetchone()
|
||||
miyr = myDB.action("SELECT ComicYear FROM comics WHERE ComicID=?", [mi['ComicID']]).fetchone()
|
||||
|
@ -231,10 +231,10 @@ class WebInterface(object):
|
|||
if len(issuesToAdd) > 0:
|
||||
logger.debug("Marking issues: %s" % issuesToAdd)
|
||||
threading.Thread(target=search.searchIssueIDList, args=[issuesToAdd]).start()
|
||||
if ComicID:
|
||||
raise cherrypy.HTTPRedirect("artistPage?ComicID=%s" % ComicID)
|
||||
else:
|
||||
raise cherrypy.HTTPRedirect("upcoming")
|
||||
#if IssueID:
|
||||
raise cherrypy.HTTPRedirect("artistPage?ComicID=%s" % mi['ComicID'])
|
||||
#else:
|
||||
# raise cherrypy.HTTPRedirect("upcoming")
|
||||
markissues.exposed = True
|
||||
|
||||
def addArtists(self, **args):
|
||||
|
|
Loading…
Reference in a new issue