@@ -4,6 +4,7 @@ function StudioEditableXBlockMixin(runtime, element) {
...
@@ -4,6 +4,7 @@ function StudioEditableXBlockMixin(runtime, element) {
varfields=[];
varfields=[];
vartinyMceAvailable=(typeof$.fn.tinymce!=='undefined');// Studio includes a copy of tinyMCE and its jQuery plugin
vartinyMceAvailable=(typeof$.fn.tinymce!=='undefined');// Studio includes a copy of tinyMCE and its jQuery plugin
varerrorMessage=gettext("This may be happening because of an error with our server or your internet connection. Try refreshing the page or making sure you are online.");
varmessage=gettext("This may be happening because of an error with our server or your internet connection. Try refreshing the page or making sure you are online.");
if(jqXHR.responseText){// Is there a more specific error message we can show?
if(jqXHR.responseText){// Is there a more specific error message we can show?