Commit d3566738 by Matt Drayer

Merge branch 'release'

Conflicts:
	requirements/edx/base.txt
parents a0bc10a1 b60487c8
...@@ -169,6 +169,7 @@ ...@@ -169,6 +169,7 @@
}, },
}; };
tinyMCE.baseURL = "${settings.STATIC_URL}" + "js/vendor/ova";
var imgURLRoot = "${settings.STATIC_URL}" + "js/vendor/ova/catch/img/"; var imgURLRoot = "${settings.STATIC_URL}" + "js/vendor/ova/catch/img/";
//remove old instances //remove old instances
......
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
<%block name="js_extra"> <%block name="js_extra">
<script type="text/javascript"> <script type="text/javascript">
tinyMCE.baseURL = "${settings.STATIC_URL}" + "js/vendor/ova";
(function($) { (function($) {
$.fn.myHTMLViewer = function(options) { $.fn.myHTMLViewer = function(options) {
var urlToLoad = null; var urlToLoad = null;
......
...@@ -162,8 +162,9 @@ ...@@ -162,8 +162,9 @@
}, },
}; };
var imgURLRoot = window.location.protocol;
imgURLRoot +="//" + uri.replace(imgURLRoot+"//","").split('/')[0] + "/static/js/vendor/ova/catch/img/"; var imgURLRoot = "${settings.STATIC_URL}" + "js/vendor/ova/catch/img/";
tinyMCE.baseURL = "${settings.STATIC_URL}" + "js/vendor/ova";
//remove old instances //remove old instances
if (Annotator._instances.length !== 0) { if (Annotator._instances.length !== 0) {
......
...@@ -163,9 +163,8 @@ ...@@ -163,9 +163,8 @@
}, },
}; };
var imgURLRoot = window.location.protocol; var imgURLRoot = "${settings.STATIC_URL}" + "js/vendor/ova/catch/img/";
imgURLRoot +="//" + uri.replace(imgURLRoot+"//","").split('/')[0] + "/static/js/vendor/ova/catch/img/"; tinyMCE.baseURL = "${settings.STATIC_URL}" + "js/vendor/ova";
//remove old instances //remove old instances
if (Annotator._instances.length !== 0) { if (Annotator._instances.length !== 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment