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:
@@ -1599,13 +1599,14 @@ Ext.onReady ( function() {
|
|||||||
text: _('ID_REASSIGN'),
|
text: _('ID_REASSIGN'),
|
||||||
handler: function(){
|
handler: function(){
|
||||||
var rs = storeReassignCases.getModifiedRecords();
|
var rs = storeReassignCases.getModifiedRecords();
|
||||||
|
|
||||||
if (rs.length < storeReassignCases.totalLength) {
|
if (rs.length < storeReassignCases.totalLength) {
|
||||||
Ext.Msg.confirm( _('ID_CONFIRM'), _('ID_CONFIRM_TO_REASSIGN'), function (btn, text) {
|
Ext.Msg.confirm( _('ID_CONFIRM'), _('ID_CONFIRM_TO_REASSIGN'), function (btn, text) {
|
||||||
if ( btn == 'yes' ) {
|
if ( btn == 'yes' ) {
|
||||||
ExecReassign();
|
ExecReassign();
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
} else {
|
||||||
|
ExecReassign();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user