Merge pull request #1704 from ralpheav/master
BUG 8665: small change to fit the standars
This commit is contained in:
@@ -127,7 +127,10 @@ class Configuration extends BaseConfiguration
|
||||
}
|
||||
}
|
||||
|
||||
public function exists($CfgUid, $ObjUid, $ProUid, $UsrUid, $AppUid)
|
||||
/**
|
||||
* To check if the configuration row exists, by using Configuration Uid data
|
||||
*/
|
||||
public function exists($CfgUid, $ObjUid='', $ProUid='', $UsrUid='', $AppUid='')
|
||||
{
|
||||
$oRow = ConfigurationPeer::retrieveByPK( $CfgUid, $ObjUid, $ProUid, $UsrUid, $AppUid );
|
||||
return (( get_class ($oRow) == 'Configuration' )&&(!is_null($oRow)));
|
||||
|
||||
@@ -457,6 +457,9 @@ function openActionDialog(caller, action, dataAux)
|
||||
break;
|
||||
|
||||
case 'download':
|
||||
if(typeof(ext_itemgrid.getSelectionModel().getSelected()) == 'undefined') {
|
||||
break;
|
||||
}
|
||||
fileName=ext_itemgrid.getSelectionModel().getSelected().get('name');
|
||||
// alert(ext_itemgrid.getSelectionModel().getSelected().get('downloadLink'));
|
||||
// alert(ext_itemgrid.getSelectionModel().getSelected().get('downloadLabel'));
|
||||
|
||||
Reference in New Issue
Block a user