Skip to content

Commit

Permalink
[FIXED] Bad link to PDF export
Browse files Browse the repository at this point in the history
 - In the More header for meetings, the Export to PDF link didn't work because extra " were added at
the beggining and the end of the url.
 - fixes #34
  • Loading branch information
Cesar Munoz Orena committed Nov 12, 2009
1 parent b4302e7 commit b2e7bac
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion indico/MaKaC/webinterface/wcomponents.py
Original file line number Diff line number Diff line change
Expand Up @@ -664,10 +664,12 @@ def getVars( self ):
urlCustPrint.addParam("view", vars["currentView"])
vars["printURL"]=str(urlCustPrint)


urlCustPDF=urlHandlers.UHConfTimeTableCustomizePDF.getURL(self._conf)
urlCustPDF.addParam("showDays", vars.get("selectedDate", "all"))
urlCustPDF.addParam("showSessions", vars.get("selectedSession", "all"))
vars["pdfURL"]=quoteattr(str(urlCustPDF))
vars["pdfURL"]=str(urlCustPDF)


return vars

Expand Down

0 comments on commit b2e7bac

Please sign in to comment.