lesson actions fix

This commit is contained in:
Seth Call 2016-05-24 13:02:14 -05:00
parent 0ff71ff551
commit af897048ad
2 changed files with 4 additions and 4 deletions

View File

@ -18,16 +18,16 @@
var $parent = $(this);
if($parent.data('lessonSessionActions')) {
// already constructed
return;
//return;
}
$parent.data('lessonSessionActions', options)
function onLessonActionSelected() {
var $li = $(this);
var lessonAction = $li.attr('data-lesson-option');
close();
$parent.triggerHandler(context.JK.EVENTS.LESSON_SESSION_ACTION, {lessonAction: lessonAction, options: options});
$parent.triggerHandler(context.JK.EVENTS.LESSON_SESSION_ACTION, {lessonAction: lessonAction, options: $parent.data('lessonSessionActions')});
return false;
};

View File

@ -345,7 +345,7 @@
return;
}
$element.on('remove', function() {
$element.off('remove').on('remove', function() {
$element.btOff();
})