git-svn-id: https://msi/svn/firstRepo/WebClient/branches/NewRelease@42 0f545695-f87b-41b6-9a03-7f16563b5454
This commit is contained in:
@@ -24,6 +24,8 @@ define(['jquery', 'underscore', 'backbone','text!modules/settings/settingsViewTe
|
|||||||
if($('#mapSpacc').is(':visible'))
|
if($('#mapSpacc').is(':visible'))
|
||||||
{
|
{
|
||||||
Profile.data.isSpacc = this.$el.find('#spacc-PMChk').prop('checked')?"1":"0";
|
Profile.data.isSpacc = this.$el.find('#spacc-PMChk').prop('checked')?"1":"0";
|
||||||
|
if(Profile.data.isSpacc==="1")
|
||||||
|
{
|
||||||
Profile.data.email = this.$el.find('#email').val();
|
Profile.data.email = this.$el.find('#email').val();
|
||||||
Profile.data.dataSpacc.provincia = this.$el.find('#prov').val();
|
Profile.data.dataSpacc.provincia = this.$el.find('#prov').val();
|
||||||
Profile.data.dataSpacc.comune = this.$el.find('#comune').val();
|
Profile.data.dataSpacc.comune = this.$el.find('#comune').val();
|
||||||
@@ -41,6 +43,7 @@ define(['jquery', 'underscore', 'backbone','text!modules/settings/settingsViewTe
|
|||||||
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Profile.updateProfile(function(){
|
Profile.updateProfile(function(){
|
||||||
|
|||||||
Reference in New Issue
Block a user