equal
deleted
inserted
replaced
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() { |