* fixed a bug: page not reload when close modal on story/view.

This commit is contained in:
Catouse
2014-06-09 16:16:39 +08:00
parent 3b854e6224
commit bade5dfd2c
4 changed files with 10 additions and 14 deletions
+1 -1
View File
@@ -815,7 +815,7 @@ EOT;
* @access public
* @return void
*/
static public function closeModal($window = 'self', $location)
static public function closeModal($window = 'self', $location = '')
{
$js = self::start();
$js .= "if($window.location.href == self.location.href){ $window.window.close();}";