From f83e3dca586e42d34964fa0f10d54f03a6950823 Mon Sep 17 00:00:00 2001 From: Mark Nelson Date: Sat, 4 Mar 2017 17:59:20 +0800 Subject: [PATCH] #83 Removed unnecessary pop-up --- view.php | 1 - 1 file changed, 1 deletion(-) diff --git a/view.php b/view.php index b4cfe64..71e6163 100644 --- a/view.php +++ b/view.php @@ -107,7 +107,6 @@ if (empty($action)) { $linkname = get_string('getcustomcert', 'customcert'); $link = new moodle_url('/mod/customcert/view.php', array('id' => $cm->id, 'action' => 'download')); $downloadbutton = new single_button($link, $linkname); - $downloadbutton->add_action(new popup_action('click', $link, 'customcertpopup', array('height' => 600, 'width' => 800))); $downloadbutton = html_writer::tag('div', $OUTPUT->render($downloadbutton), array('style' => 'text-align:center')); // Output all the page data.