+ add function of closeColorbox.

This commit is contained in:
wangyidong
2013-06-25 00:51:45 +00:00
parent 750d75a0b8
commit 1d08f9c094
+8
View File
@@ -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.
*