|
|
|
@ -26,19 +26,19 @@ function c_person (personId, photographerId, ownerId, firstname, surname, |
|
|
|
{ |
|
|
|
if (this.personId != -1) |
|
|
|
{ |
|
|
|
this.personId = -1; |
|
|
|
this.photographerId = -1; |
|
|
|
this.ownerId = -1; |
|
|
|
this.firstname = ''; |
|
|
|
this.surname = ''; |
|
|
|
this.company = ''; |
|
|
|
this.email = ''; |
|
|
|
this.url = ''; |
|
|
|
this.cameraId = -1; |
|
|
|
this.wmWidth = ''; |
|
|
|
this.wmHeight = ''; |
|
|
|
this.wmXPos = ''; |
|
|
|
this.wmYPos = ''; |
|
|
|
this.personId = this._personId = -1; |
|
|
|
this.photographerId = this._photographerId = -1; |
|
|
|
this.ownerId = this._ownerId = -1; |
|
|
|
this.firstname = this._firstname = ''; |
|
|
|
this.surname = this._surname = ''; |
|
|
|
this.company = this._company = ''; |
|
|
|
this.email = this._email = ''; |
|
|
|
this.url = this._url = ''; |
|
|
|
this.cameraId = this._cameraId = -1; |
|
|
|
this.wmWidth = this._wmWidth = ''; |
|
|
|
this.wmHeight = this._wmHeight = ''; |
|
|
|
this.wmXPos = this._wmXPos = ''; |
|
|
|
this.wmYPos = this._wmYPos = ''; |
|
|
|
|
|
|
|
if (this.personForm != null) |
|
|
|
this.personForm.updateForm (); |
|
|
|
@ -47,19 +47,19 @@ function c_person (personId, photographerId, ownerId, firstname, surname, |
|
|
|
|
|
|
|
this.reset = function () |
|
|
|
{ |
|
|
|
this.personId = -1; |
|
|
|
this.photographerId = -1; |
|
|
|
this.ownerId = -1; |
|
|
|
this.firstname = ''; |
|
|
|
this.surname = ''; |
|
|
|
this.company = ''; |
|
|
|
this.email = ''; |
|
|
|
this.url = ''; |
|
|
|
this.cameraId = -1; |
|
|
|
this.wmWidth = ''; |
|
|
|
this.wmHeight = ''; |
|
|
|
this.wmXPos = ''; |
|
|
|
this.wmYPos = ''; |
|
|
|
this.personId = this._personId; |
|
|
|
this.photographerId = this._photographerId; |
|
|
|
this.ownerId = this._ownerId; |
|
|
|
this.firstname = this._firstname; |
|
|
|
this.surname = this._surname; |
|
|
|
this.company = this._company; |
|
|
|
this.email = this._email; |
|
|
|
this.url = this._url; |
|
|
|
this.cameraId = this._cameraId; |
|
|
|
this.wmWidth = this._wmWidth; |
|
|
|
this.wmHeight = this._wmHeight; |
|
|
|
this.wmXPos = this._wmXPos; |
|
|
|
this.wmYPos = this._wmYPos; |
|
|
|
|
|
|
|
if (this.personForm != null) |
|
|
|
this.personForm.updateForm (); |
|
|
|
@ -69,19 +69,19 @@ function c_person (personId, photographerId, ownerId, firstname, surname, |
|
|
|
{ |
|
|
|
if (this.personId != p.personId) |
|
|
|
{ |
|
|
|
this.personId = p.personId; |
|
|
|
this.photographerId = p.photographerId; |
|
|
|
this.ownerId = p.ownerId; |
|
|
|
this.firstname = p.firstname; |
|
|
|
this.surname = p.surname; |
|
|
|
this.company = p.company; |
|
|
|
this.email = p.email; |
|
|
|
this.url = p.url; |
|
|
|
this.cameraId = p.cameraId; |
|
|
|
this.wmWidth = p.wmWidth; |
|
|
|
this.wmHeight = p.wmHeight; |
|
|
|
this.wmXPos = p.wmXPos; |
|
|
|
this.wmYPos = p.wmYPos; |
|
|
|
this.personId = this._personId = p.personId; |
|
|
|
this.photographerId = this._photographerId = p.photographerId; |
|
|
|
this.ownerId = this._ownerId = p.ownerId; |
|
|
|
this.firstname = this._firstname = p.firstname; |
|
|
|
this.surname = this._surname = p.surname; |
|
|
|
this.company = this._company = p.company; |
|
|
|
this.email = this._email = p.email; |
|
|
|
this.url = this._url = p.url; |
|
|
|
this.cameraId = this._cameraId = p.cameraId; |
|
|
|
this.wmWidth = this._wmWidth = p.wmWidth; |
|
|
|
this.wmHeight = this._wmHeight = p.wmHeight; |
|
|
|
this.wmXPos = this._wmXPos = p.wmXPos; |
|
|
|
this.wmYPos = this._wmYPos = p.wmYPos; |
|
|
|
|
|
|
|
if (this.personForm != null) |
|
|
|
this.personForm.updateForm (); |
|
|
|
|