Loading core/misc/ajax.js +3 −3 Original line number Diff line number Diff line Loading @@ -390,7 +390,7 @@ Drupal.ajax.prototype.beforeSend = function (xmlhttprequest, options) { // interaction while the Ajax request is in progress. ajax.ajaxing prevents // the element from triggering a new request, but does not prevent the user // from changing its value. $(this.element).addClass('progress-disabled').attr('disabled', true); $(this.element).addClass('progress-disabled').prop('disabled', true); // Insert progressbar or throbber. if (this.progress.type === 'bar') { Loading Loading @@ -425,7 +425,7 @@ Drupal.ajax.prototype.success = function (response, status) { if (this.progress.object) { this.progress.object.stopMonitoring(); } $(this.element).removeClass('progress-disabled').removeAttr('disabled'); $(this.element).removeClass('progress-disabled').prop('disabled', false); Drupal.freezeHeight(); Loading Loading @@ -493,7 +493,7 @@ Drupal.ajax.prototype.error = function (response, uri) { // Undo hide. $(this.wrapper).show(); // Re-enable the element. $(this.element).removeClass('progress-disabled').removeAttr('disabled'); $(this.element).removeClass('progress-disabled').prop('disabled', false); // Reattach behaviors, if they were detached in beforeSerialize(). if (this.form) { var settings = response.settings || this.settings || Drupal.settings; Loading core/misc/autocomplete.js +1 −1 Original line number Diff line number Diff line Loading @@ -14,7 +14,7 @@ Drupal.behaviors.autocomplete = { acdb[uri] = new Drupal.ACDB(uri); } var $input = $('#' + this.id.substr(0, this.id.length - 13)) .attr('autocomplete', 'OFF') .prop('autocomplete', 'OFF') .attr('aria-autocomplete', 'list'); $($input[0].form).submit(Drupal.autocompleteSubmit); $input.parent() Loading core/misc/collapse.js +5 −5 Original line number Diff line number Diff line Loading @@ -53,7 +53,7 @@ function CollapsibleDetails(node, settings) { // element that is targeted by the URI fragment identifier. var anchor = location.hash && location.hash !== '#' ? ', ' + location.hash : ''; if (this.$node.find('.error' + anchor).length) { this.$node.attr('open', true); this.$node.prop('open', true); } // Initialize and setup the summary, this.setupSummary(); Loading Loading @@ -96,7 +96,7 @@ $.extend(CollapsibleDetails.prototype, { var $legend = this.$node.find('> summary'); $('<span class="details-summary-prefix element-invisible"></span>') .append(this.$node.attr('open') ? Drupal.t('Hide') : Drupal.t('Show')) .append(this.$node.prop('open') ? Drupal.t('Hide') : Drupal.t('Show')) .prependTo($legend) .after(' '); Loading Loading @@ -129,7 +129,7 @@ $.extend(CollapsibleDetails.prototype, { if (this.animating) { return; } if (!this.$node.attr('open')) { if (!this.$node.prop('open')) { var $content = this.$node.find('> .details-wrapper').hide(); this.$node .trigger({ type:'collapsed', value:false }) Loading @@ -153,7 +153,7 @@ $.extend(CollapsibleDetails.prototype, { * Completed opening details element. */ onCompleteSlideDown: function () { this.$node.attr('open', true); this.$node.prop('open', true); this.$node.trigger('completeSlideDown'); this.animating = false; }, Loading @@ -161,7 +161,7 @@ $.extend(CollapsibleDetails.prototype, { * Completed closing details element. */ onCompleteSlideUp: function () { this.$node.attr('open', false); this.$node.prop('open', false); this.$node .find('> summary span.details-summary-prefix').html(Drupal.t('Show')); this.$node.trigger('completeSlideUp'); Loading core/misc/drupal.js +54 −57 Original line number Diff line number Diff line Loading @@ -261,8 +261,6 @@ Drupal.t = function (str, args, options) { /** * Adds an HTML element and method to trigger audio UAs to read system messages. */ (function (document, Drupal) { var liveElement; /** Loading Loading @@ -319,7 +317,6 @@ Drupal.t = function (str, args, options) { liveElement.setAttribute('aria-busy', 'false'); } }; }(document, Drupal)); /** * Returns the URL to a Drupal page. Loading core/misc/jquery.ba-bbq.js +1368 −7 File changed.Preview size limit exceeded, changes collapsed. Show changes Loading
core/misc/ajax.js +3 −3 Original line number Diff line number Diff line Loading @@ -390,7 +390,7 @@ Drupal.ajax.prototype.beforeSend = function (xmlhttprequest, options) { // interaction while the Ajax request is in progress. ajax.ajaxing prevents // the element from triggering a new request, but does not prevent the user // from changing its value. $(this.element).addClass('progress-disabled').attr('disabled', true); $(this.element).addClass('progress-disabled').prop('disabled', true); // Insert progressbar or throbber. if (this.progress.type === 'bar') { Loading Loading @@ -425,7 +425,7 @@ Drupal.ajax.prototype.success = function (response, status) { if (this.progress.object) { this.progress.object.stopMonitoring(); } $(this.element).removeClass('progress-disabled').removeAttr('disabled'); $(this.element).removeClass('progress-disabled').prop('disabled', false); Drupal.freezeHeight(); Loading Loading @@ -493,7 +493,7 @@ Drupal.ajax.prototype.error = function (response, uri) { // Undo hide. $(this.wrapper).show(); // Re-enable the element. $(this.element).removeClass('progress-disabled').removeAttr('disabled'); $(this.element).removeClass('progress-disabled').prop('disabled', false); // Reattach behaviors, if they were detached in beforeSerialize(). if (this.form) { var settings = response.settings || this.settings || Drupal.settings; Loading
core/misc/autocomplete.js +1 −1 Original line number Diff line number Diff line Loading @@ -14,7 +14,7 @@ Drupal.behaviors.autocomplete = { acdb[uri] = new Drupal.ACDB(uri); } var $input = $('#' + this.id.substr(0, this.id.length - 13)) .attr('autocomplete', 'OFF') .prop('autocomplete', 'OFF') .attr('aria-autocomplete', 'list'); $($input[0].form).submit(Drupal.autocompleteSubmit); $input.parent() Loading
core/misc/collapse.js +5 −5 Original line number Diff line number Diff line Loading @@ -53,7 +53,7 @@ function CollapsibleDetails(node, settings) { // element that is targeted by the URI fragment identifier. var anchor = location.hash && location.hash !== '#' ? ', ' + location.hash : ''; if (this.$node.find('.error' + anchor).length) { this.$node.attr('open', true); this.$node.prop('open', true); } // Initialize and setup the summary, this.setupSummary(); Loading Loading @@ -96,7 +96,7 @@ $.extend(CollapsibleDetails.prototype, { var $legend = this.$node.find('> summary'); $('<span class="details-summary-prefix element-invisible"></span>') .append(this.$node.attr('open') ? Drupal.t('Hide') : Drupal.t('Show')) .append(this.$node.prop('open') ? Drupal.t('Hide') : Drupal.t('Show')) .prependTo($legend) .after(' '); Loading Loading @@ -129,7 +129,7 @@ $.extend(CollapsibleDetails.prototype, { if (this.animating) { return; } if (!this.$node.attr('open')) { if (!this.$node.prop('open')) { var $content = this.$node.find('> .details-wrapper').hide(); this.$node .trigger({ type:'collapsed', value:false }) Loading @@ -153,7 +153,7 @@ $.extend(CollapsibleDetails.prototype, { * Completed opening details element. */ onCompleteSlideDown: function () { this.$node.attr('open', true); this.$node.prop('open', true); this.$node.trigger('completeSlideDown'); this.animating = false; }, Loading @@ -161,7 +161,7 @@ $.extend(CollapsibleDetails.prototype, { * Completed closing details element. */ onCompleteSlideUp: function () { this.$node.attr('open', false); this.$node.prop('open', false); this.$node .find('> summary span.details-summary-prefix').html(Drupal.t('Show')); this.$node.trigger('completeSlideUp'); Loading
core/misc/drupal.js +54 −57 Original line number Diff line number Diff line Loading @@ -261,8 +261,6 @@ Drupal.t = function (str, args, options) { /** * Adds an HTML element and method to trigger audio UAs to read system messages. */ (function (document, Drupal) { var liveElement; /** Loading Loading @@ -319,7 +317,6 @@ Drupal.t = function (str, args, options) { liveElement.setAttribute('aria-busy', 'false'); } }; }(document, Drupal)); /** * Returns the URL to a Drupal page. Loading
core/misc/jquery.ba-bbq.js +1368 −7 File changed.Preview size limit exceeded, changes collapsed. Show changes