Merge branch 'release'

Conflicts:
	requirements/edx/base.txt
This commit is contained in:
Matt Drayer
2014-01-29 16:19:30 -05:00
4 changed files with 7 additions and 5 deletions

View File

@@ -169,6 +169,7 @@
},
};
tinyMCE.baseURL = "${settings.STATIC_URL}" + "js/vendor/ova";
var imgURLRoot = "${settings.STATIC_URL}" + "js/vendor/ova/catch/img/";
//remove old instances

View File

@@ -13,6 +13,7 @@
<%block name="js_extra">
<script type="text/javascript">
tinyMCE.baseURL = "${settings.STATIC_URL}" + "js/vendor/ova";
(function($) {
$.fn.myHTMLViewer = function(options) {
var urlToLoad = null;

View File

@@ -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
if (Annotator._instances.length !== 0) {

View File

@@ -163,9 +163,8 @@
},
};
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
if (Annotator._instances.length !== 0) {