Lines 130-136
$(document).ready(function() {
Link Here
|
130 |
page += '&content='+encodeURIComponent(content); |
130 |
page += '&content='+encodeURIComponent(content); |
131 |
page += '&data_preview='+encodeURIComponent(data_preview); |
131 |
page += '&data_preview='+encodeURIComponent(data_preview); |
132 |
page += '&is_html='+encodeURIComponent(is_html); |
132 |
page += '&is_html='+encodeURIComponent(is_html); |
133 |
$("#preview_template .modal-body").load(page + " div"); |
133 |
$("#preview_template .modal-body").load(page); |
134 |
$('#preview_template').modal('show'); |
134 |
$('#preview_template').modal('show'); |
135 |
$("#preview_template_button").attr("href", "/cgi-bin/koha/svc/letters/convert?module="+module+"&code="+code+"&mtt="+mtt+"&lang="+lang); |
135 |
$("#preview_template_button").attr("href", "/cgi-bin/koha/svc/letters/convert?module="+module+"&code="+code+"&mtt="+mtt+"&lang="+lang); |
136 |
}); |
136 |
}); |