git-svn-id: https://msi/svn/firstRepo/WebClient/branches/NewRelease@58 0f545695-f87b-41b6-9a03-7f16563b5454
This commit is contained in:
+10
-6
@@ -29,6 +29,7 @@ define(['jquery', 'backbone'],
|
||||
"provincia": null,
|
||||
"comune": null,
|
||||
"cap": null,
|
||||
"note": null,
|
||||
"tipopm": null,
|
||||
"privacy": 0,
|
||||
"long": null,
|
||||
@@ -68,7 +69,7 @@ define(['jquery', 'backbone'],
|
||||
if (response.length > 0)
|
||||
{
|
||||
self.dataloaded = true;
|
||||
self.data.name = response[0].Name;
|
||||
self.data.name = unescape(response[0].Name);
|
||||
self.data.email = response[0].Email;
|
||||
self.data.gender = response[0].Gender;
|
||||
self.data.tema = response[0].TemaUI;
|
||||
@@ -79,11 +80,12 @@ define(['jquery', 'backbone'],
|
||||
self.setGender(self.data.gender);
|
||||
self.data.isSpacc = response[0].bSpacciatore;
|
||||
self.data.dataSpacc.stato = response[0].Stato;
|
||||
self.data.dataSpacc.provincia = response[0].Provincia;
|
||||
self.data.dataSpacc.comune = response[0].Comune;
|
||||
self.data.dataSpacc.provincia = unescape(response[0].Provincia);
|
||||
self.data.dataSpacc.comune = unescape(response[0].Comune);
|
||||
self.data.dataSpacc.cap = response[0].Cap;
|
||||
self.data.dataSpacc.privacy = response[0].bPrivacy;
|
||||
self.data.dataSpacc.tipopm = response[0].TipoPM;
|
||||
self.data.dataSpacc.note = unescape(response[0].Note);
|
||||
self.data.dataSpacc.lat = response[0].Latitudine;
|
||||
self.data.dataSpacc.long = response[0].Longitudine;
|
||||
retBool = true;
|
||||
@@ -126,6 +128,7 @@ define(['jquery', 'backbone'],
|
||||
this.data.dataSpacc.comune = null;
|
||||
this.data.dataSpacc.cap = null;
|
||||
this.data.dataSpacc.tipopm = null;
|
||||
this.data.dataSpacc.note = null;
|
||||
this.data.dataSpacc.privacy = 0;
|
||||
this.data.dataSpacc.long = null;
|
||||
this.data.dataSpacc.lat = null;
|
||||
@@ -219,7 +222,7 @@ define(['jquery', 'backbone'],
|
||||
|
||||
var sendobj = {
|
||||
"keyStore": this.getKeySave(),
|
||||
"name": this.data.name,
|
||||
"name": escape(this.data.name),
|
||||
"email": this.data.email,
|
||||
"gender": this.data.gender,
|
||||
"tema": this.data.tema,
|
||||
@@ -248,10 +251,11 @@ define(['jquery', 'backbone'],
|
||||
"email": this.data.email,
|
||||
"isSpacc": this.data.isSpacc,
|
||||
"stato": this.data.dataSpacc.stato,
|
||||
"prov": this.data.dataSpacc.provincia,
|
||||
"comune": this.data.dataSpacc.comune,
|
||||
"prov": escape(this.data.dataSpacc.provincia),
|
||||
"comune": escape(this.data.dataSpacc.comune),
|
||||
"cap": this.data.dataSpacc.cap,
|
||||
"tipopm": this.data.dataSpacc.tipopm,
|
||||
"note": escape(this.data.dataSpacc.note),
|
||||
"privacy": this.data.dataSpacc.privacy,
|
||||
"lng": this.data.dataSpacc.long,
|
||||
"lat": this.data.dataSpacc.lat
|
||||
|
||||
Reference in New Issue
Block a user