anchor.diff:   	if (checkOrder(value, value2) 
    		&& checkTypeValidity(radical, btype)
    	   ) {
  -
  -		$("#barcodeResults .modal-title").html("<%= _t 'Barcodes' %> <%= _t 'From' %> "  + value +  " <%= _t 'To' %> " + value2);
  -		// Creates divs
  - 		for ( var v = value; v <= value2; v++ ) {
  - 			$("#barcodeTarget").append("<div id='code-"+ v +"' class='gen'>"+ v +"</div>");
  - 			$("#code-" + v ).barcode( "" + radical + v, btype, settings);
  - 			$('#printButton').show();
  -		}
  +			// $("#errorTitle").html("<%= _t 'Barcodes' %> <%= _t 'From' %> "  + value +  " <%= _t 'To' %> " + value2);
  +			$('#printButton').show();
  +			$("#barcodeWorkingZone").show();
  +			$(".barcodeParamZone").hide();
  +			$("h1, h2, h3, h4, nav, ul, li").hide();
  +			// Creates divs
  +	 		for ( var v = value; v <= value2; v++ ) {
  +	 			$("#barcodeTarget").append("<div id='code-"+ v +"' class='gen'>"+ v +"</div>");
  +	 			$("#code-" + v ).barcode( "" + radical + v, btype, settings);
  +			}
    	} else {
  + 		console.log("Error ! "+error_message);
    		// Displays error
  - 		$("#barcodeResults .modal-title").html("<%= _t 'Error !' %>");
  + 		$("#barcodeWorkingZone").show();
  + 		$("#errorTitle").html("<%= _t 'Error !' %>");
  + 		$("#errorMsg").html(error_message);
    		//$("#barcodeTarget").toggleClass("panel panel-danger");
  - 		$("#barcodeTarget").html(error_message);
  - 		$('#printButton').hide();
    	}
     }
   
  
positive.code:     ctx.strokeRect (0, 0, canvas.width, canvas.height);
    }
    
    $(function(){
      $('input[name=btype]').click(function(){
        if ($(this).attr('id') == 'datamatrix') showConfig2D(); else showConfig1D();
  
negative.code:       print();
      });
  
      $('#backButton').click(function(){
        init();
      });
  
    });
  
    init();
  });
  </script>
  
  <div class="row barcodeParamZone">
  	<div class="col-md-12 col-md-offset-1">
  	    <div class="col-md-4">
  	      <h2><span class="label label-success"><%= _t 'Type' %></span></h2>
  