Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Don't change track autocompleter fields.

  • Loading branch information...
commit 8d385512971c483225e143ccc6baf502919dec60 1 parent 8c0a853
@ajshort ajshort authored chillu committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  forms/gridfield/GridFieldAddExistingAutocompleter.php
View
2  forms/gridfield/GridFieldAddExistingAutocompleter.php
@@ -74,7 +74,7 @@ public function getHTMLFragments($gridField) {
// Apparently the data-* needs to be double qouted for the jQuery.meta data plugin
$searchField->setAttribute('data-search-url', '\''.Controller::join_links($gridField->Link('search').'\''));
$searchField->setAttribute('placeholder', $this->getPlaceholderText($dataClass));
- $searchField->addExtraClass('relation-search');
+ $searchField->addExtraClass('relation-search no-change-track');
$findAction = new GridField_FormAction($gridField, 'gridfield_relationfind', _t('GridField.Find', "Find"), 'find', 'find');
$findAction->setAttribute('data-icon', 'relationfind');
Please sign in to comment.
Something went wrong with that request. Please try again.