$cells[] = $this->construct_preferences_actions_icons($st, $prefdata);
$table->data[$i] = new html_table_row($cells);
- $table->data[$i]->style = "statusrow".$i;
+ $table->data[$i]->id = "statusrow".$i;
$i++;
}
And I am on "Course 1" course homepage
And I follow "Attendance"
And I follow "Status set"
- And I set the field with xpath "//tr[@class='statusrow2']//td[@class='c4']/input" to "0"
+ And I set the field with xpath "//tr[@id='statusrow2']//td[@class='c4']/input" to "0"
And I press "Update"
And I log out
And I log in as "student1"