* fix a bug #646.
This commit is contained in:
@@ -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();}";
|
||||
|
||||
@@ -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=¶m=0&storyID=$story->id", '', 'list', 'sitemap');
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user