Opened 2 years ago
Closed 2 years ago
#1286 closed defect (fixed)
missing "p" in autopAccept
Reported by: | makub | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | v1.1 |
Component: | General | Version: | 1.0 |
Keywords: | Cc: |
Description
The option titled "Participation requests must be approved by the event managers (you)" in the tab "Setup" of "Participants" in event management is always displayed as green on page reload, regardless of its actual setting.
The problem is cause by a missing "p" in "autopAccept" in file MaKaC/webinterface/tpls/ConferenceParticipantsSetup.tpl on the line that looks like
$("#inPlaceEditAutoAccept").append($(new RemoteSwitchButton(${"false" if autoAccept else "true"},
The name of the variable should be autopAccept instead of autoAccept.
The bug was spotted in Indico 0.98.1, but is still present in the latest source in the moment of reporting.
Attachments (1)
Change History (4)
Changed 2 years ago by makub
comment:1 Changed 2 years ago by jbenito
- Milestone changed from v1.0 to v1.1
- Owner set to arescope
- Priority changed from normal to high
- Status changed from new to assigned
comment:2 Changed 2 years ago by arescope
- Owner arescope deleted
- Status changed from assigned to new
Dear Martin,
It is better to fix in this file. Anyway, in the v1.1 it is fixed.
MaKaC/webinterface/tpls/ConferenceParticipantsSetup.tpl - vars["autopAccept"] = self._conf.getParticipation().autoAccept() + vars["autoAccept"] = self._conf.getParticipation().isAutoAccept()
comment:3 Changed 2 years ago by arescope
- Resolution set to fixed
- Status changed from new to closed
Dear Martin,
It is better to fix in this file. Anyway, in the v1.1 it is fixed.
MaKaC/webinterface/tpls/ConferenceParticipantsSetup.tpl - vars["autopAccept"] = self._conf.getParticipation().autoAccept() + vars["autoAccept"] = self._conf.getParticipation().isAutoAccept()
patch for the problem