Skip to content

Commit

Permalink
Merge branch 'MDL-42477-master' of git://github.com/FMCorz/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
danpoltawski committed Oct 24, 2013
2 parents 012b047 + 3700833 commit 680d905
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
Expand Up @@ -70,7 +70,8 @@ Y.extend(AUTOLINKER, Y.Base, {
for (key in data.entries) {
definition = data.entries[key].definition + data.entries[key].attachments;
alertpanel = new M.core.alert({title:data.entries[key].concept, message:definition, lightbox:false});
Y.Node.one('#id_yuialertconfirm-' + alertpanel.COUNT).focus();
alertpanel.show();
Y.Node.one('#id_yuialertconfirm-' + alertpanel.get('COUNT')).focus();
}

return true;
Expand Down Expand Up @@ -139,6 +140,6 @@ M.filter_glossary.init_filter_autolinking = function(config) {
"json-parse",
"event-delegate",
"overlay",
"moodle-core-notification"
"moodle-core-notification-alert"
]
});

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

Expand Up @@ -70,7 +70,8 @@ Y.extend(AUTOLINKER, Y.Base, {
for (key in data.entries) {
definition = data.entries[key].definition + data.entries[key].attachments;
alertpanel = new M.core.alert({title:data.entries[key].concept, message:definition, lightbox:false});
Y.Node.one('#id_yuialertconfirm-' + alertpanel.COUNT).focus();
alertpanel.show();
Y.Node.one('#id_yuialertconfirm-' + alertpanel.get('COUNT')).focus();
}

return true;
Expand Down Expand Up @@ -139,6 +140,6 @@ M.filter_glossary.init_filter_autolinking = function(config) {
"json-parse",
"event-delegate",
"overlay",
"moodle-core-notification"
"moodle-core-notification-alert"
]
});
3 changes: 2 additions & 1 deletion filter/glossary/yui/src/autolinker/js/autolinker.js
Expand Up @@ -68,7 +68,8 @@ Y.extend(AUTOLINKER, Y.Base, {
for (key in data.entries) {
definition = data.entries[key].definition + data.entries[key].attachments;
alertpanel = new M.core.alert({title:data.entries[key].concept, message:definition, lightbox:false});
Y.Node.one('#id_yuialertconfirm-' + alertpanel.COUNT).focus();
alertpanel.show();
Y.Node.one('#id_yuialertconfirm-' + alertpanel.get('COUNT')).focus();
}

return true;
Expand Down
2 changes: 1 addition & 1 deletion filter/glossary/yui/src/autolinker/meta/autolinker.json
Expand Up @@ -7,7 +7,7 @@
"json-parse",
"event-delegate",
"overlay",
"moodle-core-notification"
"moodle-core-notification-alert"
]
}
}

0 comments on commit 680d905

Please sign in to comment.