Changeset dcf2ba in indico


Ignore:
Timestamp:
08/21/09 17:32:59 (4 years ago)
Author:
Jose Benito <jose.benito.gonzalez@…>
Branches:
master, burotel, hello-world-walkthrough, ipv6, new-webex, prov-dual-interface, v0.97-series, v0.98-series, v0.98.2, v0.98.3, v0.98b1, v0.98b2, v0.99, b8c30da8ebdbdcbd675a873997cc3e95f567de49, 10eafd9ae230cbad5d99d5aaf22c24724fb6c98f
Children:
a33efc
Parents:
9f94a3f
Message:

[FIXED] issues with room booking in edit breaks

Location:
indico
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • indico/MaKaC/schedule.py

    rbe2ebd rdcf2ba  
    11171117    @Retrieves (['MaKaC.schedule.BreakTimeSchEntry'], 'location', lambda x: Conversion.locationName(x.getLocation())) 
    11181118    @Retrieves (['MaKaC.schedule.BreakTimeSchEntry'], 'address', lambda x: Conversion.locationAddress(x.getLocation())) 
     1119    @Retrieves (['MaKaC.schedule.BreakTimeSchEntry'], 'inheritLoc', lambda x: x.getOwnLocation() is None) 
     1120    @Retrieves (['MaKaC.schedule.BreakTimeSchEntry'], 'inheritRoom', lambda x: x.getOwnRoom() is None) 
    11191121 
    11201122    def __init__(self): 
  • indico/htdocs/js/indico/Timetable/Management.js

    r9f94a3f rdcf2ba  
    221221        var href = Indico.Urls.Reschedule; 
    222222        var rescheduleLink = Html.a({style: {margin: '0 15px'}}, Html.span({style: {cursor: 'default', color: '#888'}}, 'Reschedule')); 
     223         
     224        var underConstr = function(event) { 
     225            IndicoUI.Widgets.Generic.tooltip(this, event,"This option will be available soon"); 
     226        }; 
     227        rescheduleLink.dom.onmouseover = underConstr; 
    223228 
    224229        this.menu = Html.div({style: {cssFloat: 'right', color: '#777'}}, addMenu, ' | ', rescheduleLink); 
     
    371376         
    372377        args.set('startDate', IndicoUtil.formatDateTime(IndicoUtil.parseJsonDate(eventData.startDate))); 
    373         args.set('roomInfo',$O({"location": eventData.location, 
    374                                 "room": eventData.room })); 
     378        args.set('roomInfo',$O({"location": eventData.inheritLoc?null:eventData.location, 
     379                                "room": eventData.inheritRoom?null:eventData.room, 
     380                                "address": eventData.inheritLoc?'':eventData.address})); 
    375381 
    376382        var editDialog = new AddBreakDialog(this, args, $O(params.roomInfo), true); 
Note: See TracChangeset for help on using the changeset viewer.