Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Try resolve test failure
Signed-off-by: Jason <jason.daurus@gmail.com>
  • Loading branch information
gzzhanghao committed Aug 1, 2015
1 parent 963ace6 commit c880e02
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
10 changes: 2 additions & 8 deletions libraries/controllers/StructureController.class.php
Expand Up @@ -208,17 +208,11 @@ public function indexAction()
)
);

// tables form
$this->response->addHTML(
'<form method="post" action="db_structure.php" '
. 'name="tablesForm" id="tablesForm">'
);

$this->response->addHTML(PMA_URL_getHiddenInputs($this->_db));

// table form
$this->response->addHTML(
Template::get('structure/table_header')->render(
array(
'db' => $this->_db,
'db_is_system_schema' => $this->_db_is_system_schema,
'replication' => $GLOBALS['replication_info']['slave']['status']
)
Expand Down
2 changes: 2 additions & 0 deletions templates/structure/table_header.phtml
Expand Up @@ -10,6 +10,8 @@ if ($GLOBALS['cfg']['NumFavoriteTables'] > 0) {
$action_colspan++;
}
?>
<form method="post" action="db_structure.php" name="tablesForm" id="tablesForm">
<?php echo PMA_URL_getHiddenInputs($db); ?>
<table class="data">
<thead>
<tr>
Expand Down

0 comments on commit c880e02

Please sign in to comment.