MDL-34182 js: fixed typo in ajaxException use

This commit is contained in:
Sam Hemelryk
2013-12-23 09:54:57 +13:00
parent 5c7e16db54
commit 0e7367a57e
5 changed files with 5 additions and 5 deletions
@@ -650,7 +650,7 @@ BRANCH.prototype = {
try {
var object = Y.JSON.parse(outcome.responseText);
if (object.error) {
Y.use('moodle-core-notification-ajaxException', function () {
Y.use('moodle-core-notification-ajaxexception', function () {
return new M.core.ajaxException(object).show();
});
return false;
File diff suppressed because one or more lines are too long
@@ -648,7 +648,7 @@ BRANCH.prototype = {
try {
var object = Y.JSON.parse(outcome.responseText);
if (object.error) {
Y.use('moodle-core-notification-ajaxException', function () {
Y.use('moodle-core-notification-ajaxexception', function () {
return new M.core.ajaxException(object).show();
});
return false;
+1 -1
View File
@@ -648,7 +648,7 @@ BRANCH.prototype = {
try {
var object = Y.JSON.parse(outcome.responseText);
if (object.error) {
Y.use('moodle-core-notification-ajaxException', function () {
Y.use('moodle-core-notification-ajaxexception', function () {
return new M.core.ajaxException(object).show();
});
return false;
+1 -1
View File
@@ -595,7 +595,7 @@ M.core_filepicker.init = function(Y, options) {
}
// error checking
if (data && data.error) {
Y.use('moodle-core-notification-ajaxException', function () {
Y.use('moodle-core-notification-ajaxexception', function () {
return new M.core.ajaxException(data);
});
this.fpnode.one('.fp-content').setContent('');