Commit 631c02a7 authored by Liam Morland's avatar Liam Morland
Browse files

Ensure Characters Entered text is not duplicated on node add.

https://drupal.org/comment/4822042#comment-4822042
parent ce490556
......@@ -16,7 +16,7 @@ Drupal.behaviors.pageTitleFieldsetSummaries = {
Drupal.behaviors.pageTitleCounter = {
attach : function(context) {
$('fieldset#edit-page-title', context).each(function() {
$('fieldset#edit-page-title', context).once('page-title', function() {
function getLength(element) { return $(element).val().length; }
var wrapper = this;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment