BUG-6855 Error message in 'Database Conections' clicking in Edit or Delete title.
I put an 'IF' validation in file 'gulliver/methods/propelTableAjax.php', to prevent that this columns were sortable.
This commit is contained in:
@@ -36,8 +36,8 @@
|
||||
|
||||
//THIS BLOCK SET THE FILTER VARIABLES
|
||||
if (isset($ntable->filterForm_Id) && ($ntable->filterForm_Id!=='')) {
|
||||
|
||||
$sPath = PATH_XMLFORM;
|
||||
|
||||
$sPath = PATH_XMLFORM;
|
||||
//if the xmlform file doesn't exist, then try with the plugins folders
|
||||
if ( !is_file ( $sPath . G::getUIDName( $ntable->filterForm_Id ) ) ) {
|
||||
$aux = explode ( PATH_SEP, G::getUIDName( $ntable->filterForm_Id ) );
|
||||
@@ -49,11 +49,11 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
$filterForm=new filterForm(G::getUIDName( $ntable->filterForm_Id ),$sPath);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
$filterForm->values=$_SESSION[$filterForm->id];
|
||||
parse_str( urldecode(get_ajax_value('filter')) , $newValues);
|
||||
if (isset($newValues['form'])) {
|
||||
@@ -77,10 +77,10 @@
|
||||
|
||||
//order by
|
||||
$orderBy = get_ajax_value('order');
|
||||
if (isset($orderBy)) {
|
||||
$orderBy = urldecode($orderBy);
|
||||
$ntable->orderBy = $orderBy;
|
||||
}
|
||||
if (isset($orderBy) && $orderBy !== 'ZDZXRHkzVzNmWVE___%3DASC' && $orderBy !== 'ZDZXRHkzUzRnSFhFdVE___%3DASC' && $orderBy !== 'ZXFpRXk0VzhlQQ______%3DASC') {
|
||||
$orderBy = urldecode($orderBy);
|
||||
$ntable->orderBy = $orderBy;
|
||||
}
|
||||
|
||||
if ( isset($page) && $page!=='' ) $ntable->currentPage = (int) $page;
|
||||
|
||||
|
||||
@@ -21,14 +21,16 @@
|
||||
<en>Description</en>
|
||||
</DBS_DESCRIPTION>
|
||||
|
||||
<DBS_EDIT type="link" colWidth="50" link="javascript:editDbConnection('@#DBS_UID')">
|
||||
<en>Edit</en>
|
||||
<DBS_EDIT type="link" colWidth="50" value="Edit" link="javascript:editDbConnection('@#DBS_UID')">
|
||||
<en></en>
|
||||
</DBS_EDIT>
|
||||
|
||||
<DBS_DELETE type="link" colWidth="50" link="javascript:deleteDbConnection('@#DBS_UID','@#PRO_UID')">
|
||||
<en>Delete</en>
|
||||
<DBS_DELETE type="link" colWidth="50" value="Delete" link="javascript:deleteDbConnection('@#DBS_UID','@#PRO_UID')">
|
||||
<en></en>
|
||||
</DBS_DELETE>
|
||||
|
||||
<GET_UID type="link" colWidth="40" value="UID" link="#" onclick="msgBox('UID: '+@QDBS_UID, 'info');return false;"/>
|
||||
<GET_UID type="link" colWidth="40" value="UID" link="#" onclick="msgBox('UID: '+@QDBS_UID, 'info');return false;"/>
|
||||
|
||||
|
||||
|
||||
</dynaForm>
|
||||
|
||||
Reference in New Issue
Block a user