@@ -4,6 +4,7 @@ function StudioEditableXBlockMixin(runtime, element) {
varfields=[];
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.");
global:false// Disable Studio's error handling that conflicts with studio's notify('save') and notify('cancel') :-/
}).done(function(response){
runtime.notify('save',{state:'end'});
}).fail(function(jqXHR){
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?