Pass table_create_time with class attribute

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
This commit is contained in:
Madhura Jayaratne 2014-11-28 12:42:32 +05:30
parent 7647baee58
commit b57250bcdf
2 changed files with 2 additions and 2 deletions

View File

@ -1857,7 +1857,7 @@ function PMA_makegrid(t, enableResize, enableReorder, enableVisib, enableGridEdi
// assign table create time
// #table_create_time will only available if we are in "Browse" tab
g.tableCreateTime = $('#table_create_time').val();
g.tableCreateTime = $(t).find('.table_create_time').val();
// assign the hints
g.sortHint = PMA_messages.strSortHint;

View File

@ -1582,7 +1582,7 @@ class PMA_DisplayResults
// generate table create time
if (! PMA_Table::isView($this->__get('db'), $this->__get('table'))) {
$data_html .= '<input id="table_create_time" type="hidden" value="'
$data_html .= '<input class="table_create_time" type="hidden" value="'
. PMA_Table::sGetStatusInfo(
$this->__get('db'), $this->__get('table'), 'Create_time'
) . '" />';