maybe working with add part button

map-with-names
Marek Baczynski 9 months ago
parent b9142f71e0
commit 68e10ec2ea

@ -24,7 +24,9 @@ function init_edit(partID) {
$('table#details tr#notes td p').hide(); $('table#details tr#notes td p').hide();
// make map have names of containers for this one click // make map have names of containers for this one click
$('img#map').attr('src', $('img#map').attr('src') + '/a') if (!$('img#map').attr('src').endsWith('/a')){
$('img#map').attr('src', $('img#map').attr('src') + '/a')
}
// var newButton = '<div class="round-button-left"><a href="#" onclick="save(' + partID + ')"><i class="fa fa-check" aria-hidden="true"></i></a></div>'; // var newButton = '<div class="round-button-left"><a href="#" onclick="save(' + partID + ')"><i class="fa fa-check" aria-hidden="true"></i></a></div>';
// $('.round-button-left').replaceWith(newButton); // $('.round-button-left').replaceWith(newButton);

Loading…
Cancel
Save