diff options
author | David Rothstein <drothstein@gmail.com> | 2016-02-24 14:25:49 -0500 |
---|---|---|
committer | David Rothstein <drothstein@gmail.com> | 2016-02-24 14:25:49 -0500 |
commit | b8d9c44f83eca57039f648a0edb0f369f8d3e6b4 (patch) | |
tree | 2b97fdea5a364b7abc6728fb364244c0a52cbc73 /modules/system/system.js | |
parent | 2f54b101bf722849e456d859876b27b90ad7e479 (diff) | |
download | brdo-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.js | 2 |
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>'); }); |