Skip to content

Commit

Permalink
Merge branch 'MDL-55592-37' of git://github.com/damyon/moodle into MO…
Browse files Browse the repository at this point in the history
…ODLE_37_STABLE
  • Loading branch information
junpataleta committed Jun 10, 2019
2 parents 015b617 + 09304bc commit f499fa9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion mod/lti/amd/build/tool_configure_controller.min.js

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

9 changes: 6 additions & 3 deletions mod/lti/amd/src/tool_configure_controller.js
Expand Up @@ -162,9 +162,12 @@ define(['jquery', 'core/ajax', 'core/notification', 'core/templates', 'mod_lti/e
var showCartridgeRegistration = function(url) {
hideExternalRegistration();
hideRegistrationChoices();
getCartridgeRegistrationContainer().removeClass('hidden');
getCartridgeRegistrationContainer().find(SELECTORS.CARTRIDGE_REGISTRATION_FORM).attr('data-cartridge-url', url);
screenReaderAnnounce(getCartridgeRegistrationContainer());
// Don't save the key and secret from the last tool.
var container = getCartridgeRegistrationContainer();
container.find('input').val('');
container.removeClass('hidden');
container.find(SELECTORS.CARTRIDGE_REGISTRATION_FORM).attr('data-cartridge-url', url);
screenReaderAnnounce(container);
};

/**
Expand Down

0 comments on commit f499fa9

Please sign in to comment.