summaryrefslogtreecommitdiff
path: root/modules/system/system.js
diff options
context:
space:
mode:
authorDavid Rothstein <drothstein@gmail.com>2016-02-24 14:25:49 -0500
committerDavid Rothstein <drothstein@gmail.com>2016-02-24 14:25:49 -0500
commitb8d9c44f83eca57039f648a0edb0f369f8d3e6b4 (patch)
tree2b97fdea5a364b7abc6728fb364244c0a52cbc73 /modules/system/system.js
parent2f54b101bf722849e456d859876b27b90ad7e479 (diff)
downloadbrdo-b8d9c44f83eca57039f648a0edb0f369f8d3e6b4.tar.gz
brdo-b8d9c44f83eca57039f648a0edb0f369f8d3e6b4.tar.bz2
Revert "Drupal 7.43"
This reverts commit 2f54b101bf722849e456d859876b27b90ad7e479.
Diffstat (limited to 'modules/system/system.js')
-rw-r--r--modules/system/system.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/system.js b/modules/system/system.js
index c0e76d38e..910fb5d3d 100644
--- a/modules/system/system.js
+++ b/modules/system/system.js
@@ -105,7 +105,7 @@ Drupal.behaviors.dateTime = {
// Attach keyup handler to custom format inputs.
$('input' + source, context).once('date-time').keyup(function () {
var input = $(this);
- var url = fieldSettings.lookup + (/\?/.test(fieldSettings.lookup) ? '&format=' : '?format=') + encodeURIComponent(input.val());
+ var url = fieldSettings.lookup + (/\?q=/.test(fieldSettings.lookup) ? '&format=' : '?format=') + encodeURIComponent(input.val());
$.getJSON(url, function (data) {
$(suffix).empty().append(' ' + fieldSettings.text + ': <em>' + data + '</em>');
});