summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-03-07 23:14:20 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-03-07 23:14:20 +0000
commit47371be0a5353aef7b34d5bdc70d31c6fd249dfc (patch)
tree9373f976babd62d6cfe6de905e3bc8ea8bb6b6b0 /misc
parentc5bfbe7fa6bf237cf956a9367be2aa723bf9bdaf (diff)
downloadbrdo-47371be0a5353aef7b34d5bdc70d31c6fd249dfc.tar.gz
brdo-47371be0a5353aef7b34d5bdc70d31c6fd249dfc.tar.bz2
#414424 by sun, chx, Arancaytar, yched, et al: Introduce Form API #type 'text_format' for additional DX/security around rich text fields.
Diffstat (limited to 'misc')
-rw-r--r--misc/form.js17
1 files changed, 0 insertions, 17 deletions
diff --git a/misc/form.js b/misc/form.js
index a9ab34cdc..0aa379fee 100644
--- a/misc/form.js
+++ b/misc/form.js
@@ -59,23 +59,6 @@ Drupal.behaviors.formUpdated = {
};
/**
- * Automatically display the guidelines of the selected text format.
- */
-Drupal.behaviors.filterGuidelines = {
- attach: function (context) {
- $('.filter-guidelines', context).once('filter-guidelines')
- .find('label').hide()
- .parents('.filter-wrapper').find('select.filter-list')
- .bind('change', function () {
- $(this).parents('.filter-wrapper')
- .find('.filter-guidelines-item').hide()
- .siblings('#filter-guidelines-' + this.value).show();
- })
- .change();
- }
-};
-
-/**
* Prepopulate form fields with information from the visitor cookie.
*/
Drupal.behaviors.fillUserInfoFromCookie = {