Skip to content
This repository
Browse code

Don't change track autocompleter fields.

  • Loading branch information...
commit 8d385512971c483225e143ccc6baf502919dec60 1 parent 8c0a853
Andrew Short authored July 17, 2012 chillu committed July 17, 2012
2  forms/gridfield/GridFieldAddExistingAutocompleter.php
@@ -74,7 +74,7 @@ public function getHTMLFragments($gridField) {
74 74
 		// Apparently the data-* needs to be double qouted for the jQuery.meta data plugin
75 75
 		$searchField->setAttribute('data-search-url', '\''.Controller::join_links($gridField->Link('search').'\''));
76 76
 		$searchField->setAttribute('placeholder', $this->getPlaceholderText($dataClass));
77  
-		$searchField->addExtraClass('relation-search');
  77
+		$searchField->addExtraClass('relation-search no-change-track');
78 78
 		
79 79
 		$findAction = new GridField_FormAction($gridField, 'gridfield_relationfind', _t('GridField.Find', "Find"), 'find', 'find');
80 80
 		$findAction->setAttribute('data-icon', 'relationfind');

0 notes on commit 8d38551

Please sign in to comment.
Something went wrong with that request. Please try again.