output lib NOBUG support full-screen pop-ups again - bug fix of previous commit. Sorry.

This commit is contained in:
Tim Hunt 2010-08-03 13:09:42 +00:00
parent 07a2b2f0f0
commit 3a220db36e

View File

@ -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);