When adding a node I noticed the "Characters Entered" text is being rendered twice (stacked on top of each other). The number count updates both lines just fine. I've attached an image showing what I see.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mjpa’s picture

Version: 7.x-2.4-beta1 » 7.x-2.x-dev
Status: Active » Needs review
FileSize
490 bytes

This is most likely caused by the Drupal behaviors not checking the page title fieldset to see if the behavior has been added already.

Patch to fix the D7 version attached - the D6 version will need a different change.

NaX’s picture

I fixed this in the D6 version with the following. It checks for and adds the page-title-processed class.

  $('#edit-page-title-wrapper', context).not('.page-title-processed').each(function() {
    $(this).addClass('page-title-processed');
    // ..
  }

Hope it helps.

kpaxman’s picture

Status: Needs review » Reviewed & tested by the community

I can confirm this was happening for me in D7 when the node has an image field set to unlimited values...every time an additional image was uploaded, another "Characters entered" line was added.

This patch resolves the issue.