Lines 78-84
$(document).ready(function() {
Link Here
|
78 |
$.ajax({ |
78 |
$.ajax({ |
79 |
data: { code: new_lettercode, branchcode: new_branchcode }, |
79 |
data: { code: new_lettercode, branchcode: new_branchcode }, |
80 |
type: 'GET', |
80 |
type: 'GET', |
81 |
url: '/cgi-bin/koha/svc/letters/', |
81 |
url: '/cgi-bin/koha/svc/letters/get/', |
82 |
success: function (data) { |
82 |
success: function (data) { |
83 |
if ( data.letters.length > 0 ) { |
83 |
if ( data.letters.length > 0 ) { |
84 |
if( new_branchcode == '' ) { |
84 |
if( new_branchcode == '' ) { |