Merge branch 'master' of gits-15.sys.kth.se:ELAB/ELAB-partsearch

pull/3/head
assar 8 years ago
commit 15b1b9300c

@ -128,8 +128,12 @@ function save(partID) {
data.append('partno', partnos[0]); data.append('partno', partnos[0]);
if (partnos.length > 1) if (partnos.length > 1)
data.append('partnoalt', partnos[1]); data.append('partnoalt', partnos[1]);
else
data.append('partnoalt', '');
if(partnos.length > 2) if(partnos.length > 2)
data.append('partnoalt2', partnos[2]); data.append('partnoalt2', partnos[2]);
else
data.append('partnoalt2', '');
data.append('description', description_v); data.append('description', description_v);
data.append('quantity', quantity_v); data.append('quantity', quantity_v);
data.append('notes', notes_v); data.append('notes', notes_v);

Loading…
Cancel
Save