summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorDavid Rothstein <drothstein@gmail.com>2014-07-16 16:03:02 -0400
committerDavid Rothstein <drothstein@gmail.com>2014-07-16 16:03:02 -0400
commit83b80acad8431fcd56e9a331ba06c41edee48c91 (patch)
tree14e68546a7d96f64ea9e34196f10404eea093922 /misc
parent1769d1cca92e206510528c324552797e83a1fc7c (diff)
downloadbrdo-83b80acad8431fcd56e9a331ba06c41edee48c91.tar.gz
brdo-83b80acad8431fcd56e9a331ba06c41edee48c91.tar.bz2
Drupal 7.29
Diffstat (limited to 'misc')
-rw-r--r--misc/ajax.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/ajax.js b/misc/ajax.js
index 29483b498..3b9dec614 100644
--- a/misc/ajax.js
+++ b/misc/ajax.js
@@ -348,7 +348,7 @@ Drupal.ajax.prototype.beforeSend = function (xmlhttprequest, options) {
// this is only needed for IFRAME submissions.
var v = $.fieldValue(this.element);
if (v !== null) {
- options.extraData[this.element.name] = v;
+ options.extraData[this.element.name] = Drupal.checkPlain(v);
}
}