Project

General

Profile

« Previous | Next » 

Revision 943d3f9a

ID943d3f9a85860cd53b090a1710cf86aa83cdd6cf
Parent b6a05986
Child 8697fbab

Added by Jocelyn Dealande about 8 years ago

x,y relative positions can be negative, although its rare

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences

Changesets

ajax/add_reference.php
3 3
require_once('../class/RefPoint.class.php');
4 4
require_once('../class/site_point.class.php');
5 5

  
6
$fields_spec = array('x'         => array('required', 'numeric', 'positive'),
7
                     'y'         => array('required', 'numeric', 'positive'),
6
$fields_spec = array('x'         => array('required', 'numeric'),
7
                     'y'         => array('required', 'numeric'),
8 8
                     'panorama'  => array('required'),
9 9
                     'ref_point' => array('required'),
10 10
);