Skip to content

Commit

Permalink
Extended ScheduledSession objects were not initialized correctly, so …
Browse files Browse the repository at this point in the history
…un-extending did not work. Fixes bug #1401. Commit ready for merge.

 - Legacy-Id: 7732
  • Loading branch information
rjsparks committed May 12, 2014
1 parent a2fd7f1 commit 947f174
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion static/js/agenda/agenda_helpers.js
Expand Up @@ -77,7 +77,7 @@ function style_empty_slots(){

}

var __debug_load_events = false;
var __debug_load_events = true;
/* this pushes every event into the agendas */
function load_events(){
var slot_id;
Expand Down
2 changes: 1 addition & 1 deletion static/js/agenda/agenda_listeners.js
Expand Up @@ -308,7 +308,7 @@ function extend_slot(event) {
// need to create new scheduledsession
var new_ss = make_ss({ "session_id" : session.session_id,
"timeslot_id": slot.following_timeslot.timeslot_id,
"extended_from_id" : current_scheduledslot.scheduledsession_id});
"extendedfrom_id" : current_scheduledslot.scheduledsession_id});
// make_ss also adds to slot_status.
new_ss.saveit();

Expand Down

0 comments on commit 947f174

Please sign in to comment.