Merge pull request #950 from webspilka/patch-1

Update javascript/GridField.js
This commit is contained in:
Ingo Schommer 2012-11-15 02:23:08 -08:00
commit 62280b9ba3

View File

@ -302,7 +302,7 @@
},
type: "GET",
url: suggestionUrl,
data: escape(searchField.attr('name'))+'='+escape(searchField.val()),
data: encodeURIComponent(searchField.attr('name'))+'='+encodeURIComponent(searchField.val()),
success: function(data) {
response( $.map(JSON.parse(data), function( name, id ) {
return { label: name, value: name, id: id };