function initPlayModalEvent(){
    $('#play-wav-name').keyup(function () {
        if ($('#play-wav-name').val() != '') {
            $('#play-tts-name').attr('disabled', 'disabled');
        }
        else {
            $('#play-tts-name').removeAttr('disabled');
        }
    });
    $('#play-tts-name').keyup(function () {
        if ($('#play-tts-name').val() != '') {
            $('#play-wav-name').attr('disabled', 'disabled');
        }
        else {
            $('#play-wav-name').removeAttr('disabled');
        }
    });
}
/**
 * disable TTS/WAV in play modal.
 */
disable TTS/WAV in play modal.
disable TTS / WAV in play modal .
function initPlayModalEvent(){
    $('#play-wav-name').keyup(function () {
        if ($('#play-wav-name').val() != '') {
            $('#play-tts-name').attr('disabled', 'disabled');
        }
        else {
            $('#play-tts-name').removeAttr('disabled');
        }
    });
    $('#play-tts-name').keyup(function () {
        if ($('#play-tts-name').val() != '') {
            $('#play-wav-name').attr('disabled', 'disabled');
        }
        else {
            $('#play-wav-name').removeAttr('disabled');
        }
    });
}
function initPlayModalEvent ( ) { $ ( '#play-wav-name' ) . keyup ( function ( ) { if ( $ ( '#play-wav-name' ) . val ( ) != '' ) { $ ( '#play-tts-name' ) . attr ( 'disabled' , 'disabled' ) ; } else { $ ( '#play-tts-name' ) . removeAttr ( 'disabled' ) ; } } ) ; $ ( '#play-tts-name' ) . keyup ( function ( ) { if ( $ ( '#play-tts-name' ) . val ( ) != '' ) { $ ( '#play-wav-name' ) . attr ( 'disabled' , 'disabled' ) ; } else { $ ( '#play-wav-name' ) . removeAttr ( 'disabled' ) ; } } ) ; }
disable TTS/WAV in play modal.
disable TTS / WAV in play modal .