BUG 8665: small change to fit the standars

This commit is contained in:
ralpheav
2013-05-08 12:00:12 -04:00
parent 1eba023890
commit f11a7d1fbd
2 changed files with 4 additions and 1 deletions

View File

@@ -457,7 +457,7 @@ function openActionDialog(caller, action, dataAux)
break;
case 'download':
if(ext_itemgrid.getSelectionModel().getSelected() == undefined) {
if(typeof(ext_itemgrid.getSelectionModel().getSelected()) == 'undefined') {
break;
}
fileName=ext_itemgrid.getSelectionModel().getSelected().get('name');