glossary MDL-23423 improved ajax error display

This commit is contained in:
Andrew Davis 2010-08-13 02:13:01 +00:00
parent 0700c5c464
commit 77c7486ea0

View File

@ -75,10 +75,10 @@ YUI.add('moodle-mod_glossary-autolinker', function(Y) {
return true;
} else if (data.error) {
alert(data.error);
new M.core.ajaxException(data);
}
}catch(ex) {
alert(ex.message+" "+content);
}catch(e) {
new M.core.exception(e);
}
return false;
}