Permalink
Browse files

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

…on which it was pressed
  • Loading branch information...
1 parent 36ff8d0 commit df46b9b40dee3c949e3e1d9626039c89d6a515f5 @rajeshtaneja rajeshtaneja committed Mar 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 theme/index.php
View
2 theme/index.php
@@ -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 df46b9b

Please sign in to comment.