|
|
|
@ -1936,23 +1936,30 @@ function doAckOperation( NodeID, Cmd ){ |
|
|
|
icon: Ext.MessageBox.QUESTION |
|
|
|
}); |
|
|
|
} else { |
|
|
|
if( mode_add_ack ){ |
|
|
|
|
|
|
|
} else { |
|
|
|
Ext.Msg.show({ |
|
|
|
title:'<?=$Labels->GetLabel("_INFO_MSG_");?>', |
|
|
|
msg: '<?=$Labels->GetLabel("_DEV_ACK_STOP_");?>', |
|
|
|
buttons: Ext.Msg.YESNOCANCEL, |
|
|
|
fn: function( btn ){ |
|
|
|
if( btn == 'yes' ){ |
|
|
|
doMaskOperation( NodeID, 3, 5 ); |
|
|
|
Ext.Msg.show({ |
|
|
|
title:'<?=$Labels->GetLabel("_INFO_MSG_");?>', |
|
|
|
msg: '<?=$Labels->GetLabel("_DEV_ACK_STOP_");?>', |
|
|
|
buttons: Ext.Msg.YESNOCANCEL, |
|
|
|
fn: function( btn ){ |
|
|
|
if( btn == 'yes' ){ |
|
|
|
if( selectROI_mode ){ |
|
|
|
t = Ext.getCmp('cp_radar_'+NodeID ); |
|
|
|
if( t != undefined ){ |
|
|
|
t.removeClass( 'yellow_bg' ); |
|
|
|
}; |
|
|
|
t = document.getElementById('draw_svg_'+NodeID ); |
|
|
|
if( t != undefined ){ |
|
|
|
t.style.cursor = 'crosshair'; |
|
|
|
}; |
|
|
|
} else { |
|
|
|
t = Ext.getCmp('cp_ack_btn_'+NodeID ); |
|
|
|
if( t != undefined ) t.toggle( true, true ); |
|
|
|
}; |
|
|
|
}, |
|
|
|
icon: Ext.MessageBox.QUESTION |
|
|
|
}); |
|
|
|
}; |
|
|
|
doMaskOperation( NodeID, 3, 5 ); |
|
|
|
} |
|
|
|
} else { |
|
|
|
t = Ext.getCmp('cp_ack_btn_'+NodeID ); |
|
|
|
if( t != undefined ) t.toggle( true, true ); |
|
|
|
}; |
|
|
|
}, |
|
|
|
icon: Ext.MessageBox.QUESTION |
|
|
|
}); |
|
|
|
}; |
|
|
|
}; |