mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	remove legacy error option from file in mode
(for 1.0)
This commit is contained in:
		@@ -48,11 +48,6 @@
 | 
			
		||||
            <option value="stream" data-i18n="file.output.stream"></option>
 | 
			
		||||
        </select>
 | 
			
		||||
    </div>
 | 
			
		||||
    <div class="form-row">
 | 
			
		||||
        <label></label>
 | 
			
		||||
        <input type="checkbox" id="node-input-sendError" style="width:auto">
 | 
			
		||||
        <label style="width:auto; margin-bottom:0; vertical-align: middle;" for="node-input-sendError" data-i18n="file.label.sendError"></label>
 | 
			
		||||
    </div>
 | 
			
		||||
    <div class="form-row" id="encoding-spec">
 | 
			
		||||
        <label for="node-input-encoding"><i class="fa fa-flag"></i> <span data-i18n="file.label.encoding"></span></label>
 | 
			
		||||
        <select type="text" id="node-input-encoding" style="width: 250px;">
 | 
			
		||||
@@ -309,9 +304,6 @@
 | 
			
		||||
                }
 | 
			
		||||
            });
 | 
			
		||||
            encSel.val(node.encoding);
 | 
			
		||||
            if (this.sendError === undefined) {
 | 
			
		||||
                $("#node-input-sendError").prop("checked",true);
 | 
			
		||||
            }
 | 
			
		||||
            $("#node-input-format").on("change",function() {
 | 
			
		||||
                var format = $("#node-input-format").val();
 | 
			
		||||
                if ((format === "utf8") || (format === "lines")) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user