19 lines
689 B
JavaScript
19 lines
689 B
JavaScript
define(['jquery', 'iframeNotifier'], function($, iframeNotifier){
|
|
|
|
return {
|
|
start : function(){
|
|
$("#ltiLaunchFormSubmitArea").hide();
|
|
$("form[name='ltiLaunchForm']").submit();
|
|
|
|
//ask the parent to hide the loader
|
|
iframeNotifier.parent('unloading');
|
|
|
|
//set a fix size to the iframe as we are not allowed to check content size
|
|
iframeNotifier.parent('heightchange', [600]);
|
|
|
|
//ask the parent to stop communicate accross frames because we are going to another domain for new amazing adventures...
|
|
iframeNotifier.parent('shutdown-com');
|
|
}
|
|
};
|
|
});
|