mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
output lib NOBUG support full-screen pop-ups again - bug fix of previous commit. Sorry.
This commit is contained in:
parent
07a2b2f0f0
commit
3a220db36e
@ -151,7 +151,7 @@ class popup_action extends component_action {
|
||||
}
|
||||
|
||||
$attributes = array('url' => $url->out(false), 'name' => $name, 'options' => $this->get_js_options($params));
|
||||
if ($params['fullscreen']) {
|
||||
if (!empty($params['fullscreen'])) {
|
||||
$attributes['fullscreen'] = 1;
|
||||
}
|
||||
parent::__construct($event, $this->jsfunction, $attributes);
|
||||
|
Loading…
x
Reference in New Issue
Block a user