src/cm/media/js/client/f_printDialog.js
changeset 565 95a5c06c4008
parent 467 47f54d0c46dd
equal deleted inserted replaced
564:dc415eb33a3f 565:95a5c06c4008
    92     disableMarkersColorsChoice = ((nb_comments == 0) || (which == 'none') || (method == 'markdown') || (method == 'latex') || (method == 'epub') || (method == 'odt') || (method == 'doc') || (method == 'xml')) ;
    92     disableMarkersColorsChoice = ((nb_comments == 0) || (which == 'none') || (method == 'markdown') || (method == 'latex') || (method == 'epub') || (method == 'odt') || (method == 'doc') || (method == 'xml')) ;
    93   
    93   
    94   if (disableMarkersColorsChoice)
    94   if (disableMarkersColorsChoice)
    95     $("#p_color").val('no');
    95     $("#p_color").val('no');
    96 
    96 
    97   $("#p_color").attr("disabled", disableMarkersColorsChoice);
    97   $("#p_color").prop("disabled", disableMarkersColorsChoice);
    98   
    98   
    99 } ;
    99 } ;
   100 
   100 
   101 _initPrintDialog = function() {
   101 _initPrintDialog = function() {
   102   $('#p_comments').add($('#p_method')).change(function() {
   102   $('#p_comments').add($('#p_method')).change(function() {