Projet

Général

Profil

Révision 1b9439c2

Ajouté par Jocelyn Delande il y a plus de 10 ans

Fixed ref_points dialog (I broke it...)

Voir les différences:

js/pano.js
702 702
    document.getElementById('insert').style.display = 'none';
703 703
}
704 704

  
705
function manage_ref_points(e, has_points) {
705
function manage_ref_points(e) {
706 706
    //event.preventDefault();
707 707
    //event.stopPropagation();
708 708
	var sel_pt = document.getElementById('sel_point');
......
719 719
	insrt.style.top = e.pageY+'px';
720 720
	insrt.style.display = 'block';
721 721

  
722
	if (has_points) {
722
	if (do_insert) {// true if there are ref points
723 723
		    for(var i = 0; i < zm.pt_list.length; i++) {
724 724
			    if (zm.pt_list[i]['type'] == 'ref_point') {
725 725
				    if (check_prox(zm.pt_list[i]['xc']-pos_x,

Formats disponibles : Unified diff