Permalink
Browse files

MDL-27862 Themes: clear theme cache button will redirect to the page …

…on which it was pressed
  • Loading branch information...
Rajesh Taneja
Rajesh Taneja committed Mar 7, 2012
1 parent c6a49f7 commit ad3635a3658b2c6f0ae2b48640777d9341144a9b
Showing with 1 addition and 1 deletion.
  1. +1 −1 theme/index.php
View
@@ -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);

0 comments on commit ad3635a

Please sign in to comment.