|
|
@ -24,8 +24,10 @@ 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);
|
|
|
|
$('#edit-button').html('<i class="fa fa-check" aria-hidden="true"></i>');
|
|
|
|
$('#edit-button').html('<i class="fa fa-check" aria-hidden="true"></i>');
|
|
|
|