X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fquickedit%2Fjs%2Feditors%2FformEditor.js;fp=web%2Fcore%2Fmodules%2Fquickedit%2Fjs%2Feditors%2FformEditor.js;h=8a872edc57ef94b770f1083e7e2d932c4050dc1d;hp=6ff6990eaf723dfe3a91ebc347376b3be96d2e3f;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/web/core/modules/quickedit/js/editors/formEditor.js b/web/core/modules/quickedit/js/editors/formEditor.js index 6ff6990ea..8a872edc5 100644 --- a/web/core/modules/quickedit/js/editors/formEditor.js +++ b/web/core/modules/quickedit/js/editors/formEditor.js @@ -57,12 +57,13 @@ loadForm: function loadForm() { var fieldModel = this.fieldModel; - var id = 'quickedit-form-for-' + fieldModel.id.replace(/[\/\[\]]/g, '_'); + var id = 'quickedit-form-for-' + fieldModel.id.replace(/[/[\]]/g, '_'); - var $formContainer = this.$formContainer = $(Drupal.theme('quickeditFormContainer', { + var $formContainer = $(Drupal.theme('quickeditFormContainer', { id: id, loadingMsg: Drupal.t('Loading…') })); + this.$formContainer = $formContainer; $formContainer.find('.quickedit-form').addClass('quickedit-editable quickedit-highlighted quickedit-editing').attr('role', 'dialog'); if (this.$el.css('display') === 'inline') {