BUG 9454 Problemas con el reassign el boton no esta funcionando SOLVED

- not valid for a register.
- was first added the validation.
This commit is contained in:
Marco Antonio Nina
2012-07-17 11:56:27 -04:00
parent 99a1c2063d
commit 6bee6e31c2

View File

@@ -1599,13 +1599,14 @@ Ext.onReady ( function() {
text: _('ID_REASSIGN'),
handler: function(){
var rs = storeReassignCases.getModifiedRecords();
if (rs.length < storeReassignCases.totalLength) {
Ext.Msg.confirm( _('ID_CONFIRM'), _('ID_CONFIRM_TO_REASSIGN'), function (btn, text) {
if ( btn == 'yes' ) {
ExecReassign();
}
})
} else {
ExecReassign();
}
}
});