BUG 15074 Section DESIGNER message 'One item should be selected in order to execute the action.' is not displayed when not selected any row. SOLVED
This commit is contained in:
@@ -589,6 +589,19 @@ function doSearch(){
|
||||
editProcess = function(typeParam)
|
||||
{
|
||||
var rowSelected = processesGrid.getSelectionModel().getSelected();
|
||||
if (!rowSelected) {
|
||||
Ext.Msg.show({
|
||||
title: '',
|
||||
msg: _('ID_NO_SELECTION_WARNING'),
|
||||
buttons: Ext.Msg.INFO,
|
||||
fn: function () {
|
||||
},
|
||||
animEl: 'elId',
|
||||
icon: Ext.MessageBox.INFO,
|
||||
buttons: Ext.MessageBox.OK
|
||||
});
|
||||
return;
|
||||
}
|
||||
var url, pro_uid = rowSelected.data.PRO_UID;
|
||||
var type = rowSelected.data.PROJECT_TYPE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user