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