Skip to content

Commit

Permalink
MDL-27862 Themes: clear theme cache button will redirect to the page …
Browse files Browse the repository at this point in the history
…on which it was pressed
  • Loading branch information
Rajesh Taneja committed Mar 12, 2012
1 parent c6a49f7 commit ad3635a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion theme/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@
echo $OUTPUT->header('themeselector');
echo $OUTPUT->heading($heading);

echo $OUTPUT->single_button(new moodle_url('index.php', array('sesskey' => sesskey(), 'reset' => 1)), get_string('themeresetcaches', 'admin'));
echo $OUTPUT->single_button(new moodle_url('index.php', array('sesskey' => sesskey(), 'reset' => 1, 'device' => $device)), get_string('themeresetcaches', 'admin'));

echo html_writer::table($table);

Expand Down

0 comments on commit ad3635a

Please sign in to comment.