mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #950 from webspilka/patch-1
Update javascript/GridField.js
This commit is contained in:
commit
62280b9ba3
@ -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 };
|
||||
|
Loading…
Reference in New Issue
Block a user