output lib NOBUG support full-screen pop-ups again - bug fix of previous commit. Sorry.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user