Permalink
Browse files

MDL-53813 search: prevent form change checker on search form

When we are searching for things we don't have text input we need to
care about loosing.
  • Loading branch information...
danpoltawski committed Apr 14, 2016
1 parent b611ade commit e11127b4bfc327775aca297198406900cdb998f2
Showing with 1 addition and 0 deletions.
  1. +1 −0 search/classes/output/form/search.php
@@ -39,6 +39,7 @@ function definition() {
global $CFG;
$mform =& $this->_form;
$mform->disable_form_change_checker();
$mform->addElement('header', 'search', get_string('search', 'search'));
// Help info depends on the selected search engine.

0 comments on commit e11127b

Please sign in to comment.