summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDavid Rothstein <drothstein@gmail.com>2014-11-06 19:15:23 -0500
committerDavid Rothstein <drothstein@gmail.com>2014-11-06 19:15:23 -0500
commit6ef7cf3abd7b18719546489c316d0e8b625b2978 (patch)
treeab69a487accbf3c05f294f17f0f74c59f089f732 /modules
parent86a1ebefd3073713e795035c5bc0b0d1024a2189 (diff)
downloadbrdo-6ef7cf3abd7b18719546489c316d0e8b625b2978.tar.gz
brdo-6ef7cf3abd7b18719546489c316d0e8b625b2978.tar.bz2
Issue #2282541 by David_Rothstein, nod_: Followup to restore previous behavior in which the "Hide summary" click handler in text.js returned FALSE.
Diffstat (limited to 'modules')
-rw-r--r--modules/field/modules/text/text.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/field/modules/text/text.js b/modules/field/modules/text/text.js
index 7973d5d52..e8e270acf 100644
--- a/modules/field/modules/text/text.js
+++ b/modules/field/modules/text/text.js
@@ -37,8 +37,8 @@ Drupal.behaviors.textSummary = {
$a.html(Drupal.t('Hide summary'));
$link.appendTo($summaryLabel);
}
- e.preventDefault();
toggleClick = !toggleClick;
+ return false;
}).appendTo($summaryLabel);
// If no summary is set, hide the summary field.