X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Feditor%2Fjs%2Feditor.dialog.es6.js;fp=web%2Fcore%2Fmodules%2Feditor%2Fjs%2Feditor.dialog.es6.js;h=dda48600dde8479b1b306c46c2f52ca52d8e83a6;hp=498ee28b94518def850697e1b8275768347e72fd;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/web/core/modules/editor/js/editor.dialog.es6.js b/web/core/modules/editor/js/editor.dialog.es6.js index 498ee28b9..dda48600d 100644 --- a/web/core/modules/editor/js/editor.dialog.es6.js +++ b/web/core/modules/editor/js/editor.dialog.es6.js @@ -3,7 +3,7 @@ * AJAX commands used by Editor module. */ -(function ($, Drupal) { +(function($, Drupal) { /** * Command to save the contents of an editor-provided modal. * @@ -24,7 +24,11 @@ * * @fires event:editor:dialogsave */ - Drupal.AjaxCommands.prototype.editorDialogSave = function (ajax, response, status) { + Drupal.AjaxCommands.prototype.editorDialogSave = function( + ajax, + response, + status, + ) { $(window).trigger('editor:dialogsave', [response.values]); }; -}(jQuery, Drupal)); +})(jQuery, Drupal);