made map show annotation on edit

map-with-names
Marek Baczynski 9 months ago
parent 8818b7d801
commit b9142f71e0

@ -23,7 +23,8 @@ function init_edit(partID) {
$('input[name=notes-input]').show();
$('table#details tr#notes td p').hide();
$('img#map').attr('src', 'parts/map/' + data.container_id + '/a');
// make map have names of containers for this one click
$('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);

Loading…
Cancel
Save