src/main/webapp/ui/js/ui/panes/pane-addce.js
// existing ce js upload code.
existing ce js upload code.
existing ce js upload code .
function htmlForSentenceUpload() {
		var html = '';
        html += '<h3>Upload CE from file:</h3>';
        html += '<form id="generalCeUploadForm" method="post" enctype="multipart/form-data" action="/">';
        html += '  <div style="display:flex; flex-wrap:wrap;">';
        html += '    <input style="border:1px solid #DDDDDD;" id="upload-form-input-id" name="file" type="file" />';
		html += '    <button type="button" onclick="' + 'gEp.handler.sentences.uploadSentencesFromForm(this.parentNode.parentNode)' + '">Upload</button>';
        html += '  </div>';
        html += '</form>';
        return html;
    }
function htmlForSentenceUpload ( ) { var html = '' ; html += '<h3>Upload CE from file:</h3>' ; html += '<form id="generalCeUploadForm" method="post" enctype="multipart/form-data" action="/">' ; html += '  <div style="display:flex; flex-wrap:wrap;">' ; html += '    <input style="border:1px solid #DDDDDD;" id="upload-form-input-id" name="file" type="file" />' ; html += '    <button type="button" onclick="' + 'gEp.handler.sentences.uploadSentencesFromForm(this.parentNode.parentNode)' + '">Upload</button>' ; html += '  </div>' ; html += '</form>' ; return html ; }
existing ce js upload code.
existing ce js upload code .