Permalink
Browse files

Don't change track autocompleter fields.

  • Loading branch information...
1 parent 8c0a853 commit 8d385512971c483225e143ccc6baf502919dec60 @ajshort ajshort committed with chillu Jul 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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');

0 comments on commit 8d38551

Please sign in to comment.