maybe working with add part button

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

@ -24,8 +24,10 @@ function init_edit(partID) {
$('table#details tr#notes td p').hide();
// 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>';
// $('.round-button-left').replaceWith(newButton);
$('#edit-button').html('<i class="fa fa-check" aria-hidden="true"></i>');

Loading…
Cancel
Save