Skip to content

Commit

Permalink
MDL-34182 js: fixed typo in ajaxException use
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Hemelryk committed Dec 22, 2013
1 parent 2347fe5 commit 072ce9a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Expand Up @@ -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;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion blocks/navigation/yui/src/navigation/js/navigation.js
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion repository/filepicker.js
Expand Up @@ -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('');
Expand Down

0 comments on commit 072ce9a

Please sign in to comment.