+ add function of closeColorbox.
This commit is contained in:
@@ -726,6 +726,14 @@ EOT;
|
||||
return $js;
|
||||
}
|
||||
|
||||
static public function closeColorbox($window = 'self')
|
||||
{
|
||||
$js = self::start();
|
||||
$js .= "$window.$.colorbox.close()";
|
||||
$js .= self::end();
|
||||
return $js;
|
||||
}
|
||||
|
||||
/**
|
||||
* Export the config vars for createLink() js version.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user