Permalink
Browse files

Defined baseUrl in the legacy instructor dashboard template, fixing a…

… bug where the HTML editor would fail to load
  • Loading branch information...
1 parent 838f4df commit 47685af07d7f95f0395b65b580d85034d13a2b64 Julia Hansbrough committed Oct 9, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 lms/templates/courseware/instructor_dashboard.html
@@ -15,6 +15,9 @@
<script type="text/javascript" src="${static.url('js/vendor/tiny_mce/jquery.tinymce.js')}"></script>
<script type="text/javascript" src="${static.url('js/vendor/CodeMirror/htmlmixed.js')}"></script>
<script type="text/javascript" src="${static.url('js/vendor/CodeMirror/css.js')}"></script>
+ <script type="text/javascript">
+ (function() {window.baseUrl = "${settings.STATIC_URL}";})(this);
+ </script>
<%static:js group='module-descriptor-js'/>
%if instructor_tasks is not None:
<script type="text/javascript" src="${static.url('js/pending_tasks.js')}"></script>

0 comments on commit 47685af

Please sign in to comment.