#83 Removed unnecessary pop-up
This commit is contained in:
parent
bbc749fa49
commit
f83e3dca58
1 changed files with 0 additions and 1 deletions
1
view.php
1
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.
|
||||
|
|
Loading…
Reference in a new issue