* fix a bug #646.

This commit is contained in:
wangyidong
2014-11-04 01:18:40 +00:00
parent b02fc2cf11
commit b1af6eac76
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -819,7 +819,7 @@ EOT;
* @access public
* @return void
*/
static public function closeModal($window = 'self', $location = '')
static public function closeModal($window = 'self', $location = 'this')
{
$js = self::start();
$js .= "if($window.location.href == self.location.href){ $window.window.close();}";
+1 -1
View File
@@ -64,7 +64,7 @@
<?php
common::printIcon('story', 'change', "storyID=$story->id", $story, 'list', 'random');
common::printIcon('story', 'review', "storyID=$story->id", $story, 'list', 'search');
common::printIcon('story', 'close', "storyID=$story->id", $story, 'list', 'off', 'text-danger');
common::printIcon('story', 'close', "storyID=$story->id", $story, 'list', 'off', '', 'text-danger');
common::printIcon('story', 'edit', "storyID=$story->id", $story, 'list', 'pencil');
common::printIcon('story', 'createCase', "productID=$story->product&moduleID=0&from=&param=0&storyID=$story->id", '', 'list', 'sitemap');
?>