Changeset ce1a1f3 in indico


Ignore:
Timestamp:
04/25/12 18:59:06 (13 months ago)
Author:
Jose Benito <jose.benito.gonzalez@…>
Branches:
master, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, 0da0c1403bae8e51d8229f460181c71b9e6dda72
Children:
1b358b
Parents:
71f38a
Message:

[FIX] Subcontrib display when no session

File:
1 edited

Legend:

Unmodified
Added
Removed
  • indico/MaKaC/webinterface/tpls/SubContributionDisplayMin.tpl

    rd62122 rce1a1f3  
    8282<script type="text/javascript"> 
    8383    $("#manageMaterial").click(function(){ 
    84         IndicoUI.Dialogs.Material.editor('${SubContrib.getConference().getId()}', '${SubContrib.getSession().getId()}','${SubContrib.getParent().getId()}','${SubContrib.getId()}', 
     84        IndicoUI.Dialogs.Material.editor('${SubContrib.getConference().getId()}', '${SubContrib.getSession().getId() if SubContrib.getSession() else ""}','${SubContrib.getParent().getId()}','${SubContrib.getId()}', 
    8585                ${jsonEncode(SubContrib.getAccessController().isProtected())}, ${jsonEncode(SubContrib.getMaterialRegistry().getMaterialList(SubContrib.getConference()))}, ${'Indico.Urls.UploadAction.subcontribution'}, true); 
    8686     }); 
Note: See TracChangeset for help on using the changeset viewer.