8ac59801be
Update commons modules to release 7.12, and move the codebase under modules/commons instead of constant fetching from remote repository. The commons.make file removed so it is not required to rebuild groups distribution. Change-Id: I3be393ba1af34427e2915b18ab1ad718fd4e54db
11 lines
207 B
JavaScript
11 lines
207 B
JavaScript
(function ($) {
|
|
|
|
Drupal.behaviors.autoEmbed = {
|
|
attach: function (context, settings) {
|
|
// Automatically click the submit button to embed the file.
|
|
$('.button.fake-ok').click();
|
|
}
|
|
};
|
|
|
|
})(jQuery);
|