form MDL-22286 Fixed use of property that did not exist

This commit is contained in:
Sam Hemelryk
2010-05-19 05:33:36 +00:00
parent bde8d7717e
commit 2f4c75a143
+2 -1
View File
@@ -96,7 +96,8 @@ class MoodleQuickForm_choosecoursefile extends MoodleQuickForm_group
$options = $this->_options['options'];
}
$action = new popup_action('click', $url, $button->getName(), $options);
$OUTPUT->add_action_handler($action, $button->id);
$button->updateAttributes(array('id'=>$OUTPUT->add_action_handler($action, $button->getAttribute('id'))));
}
/**