Skip to content

Commit

Permalink
Merge pull request #986 from ucfcdl/issue/985-alert-modal-in-lti-picker
Browse files Browse the repository at this point in the history
Sitewide alert no longer renders erroneously in LTI success screen.
  • Loading branch information
clpetersonucf authored Feb 23, 2017
2 parents efbfd4c + 7403e2d commit 6ccab50
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 4 additions & 1 deletion fuel/app/modules/lti/classes/controller/error.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ public function after($response)
\Js::push_inline($this->theme->view('partials/google_analytics', array('id' => $gid)));
}

\Js::push_group('core');
\Js::push_group(['core', 'angular', 'ng_modal', 'materia']);
\Js::push_inline('var BASE_URL = "'.\Uri::base().'";');
\Js::push_inline('var STATIC_CROSSDOMAIN = "'.\Config::get('materia.urls.static_crossdomain').'";');

\Css::push_group('lti');

return \Response::forge(\Theme::instance()->render());
Expand Down
4 changes: 4 additions & 0 deletions fuel/app/modules/lti/classes/controller/lti.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ public function action_success($inst_id)

$this->insert_analytics();

\Js::push_group(['angular', 'ng_modal', 'materia']);
\Js::push_inline('var BASE_URL = "'.\Uri::base().'";');
\Js::push_inline('var STATIC_CROSSDOMAIN = "'.\Config::get('materia.urls.static_crossdomain').'";');

\Css::push_group('lti');

return \Response::forge($this->theme->render());
Expand Down

0 comments on commit 6ccab50

Please sign in to comment.