git-svn-id: https://msi/svn/firstRepo/WebClient/branches/NewRelease@48 0f545695-f87b-41b6-9a03-7f16563b5454
This commit is contained in:
@@ -47,8 +47,8 @@ define(['jquery', 'underscore', 'backbone','text!modules/settings/settingsViewTe
|
||||
Profile.data.dataSpacc.tipopm === "")
|
||||
{
|
||||
self.$el.find('#titlePopup').html("Campi obbligatori");
|
||||
this.$el.find('#messaggio').html("<center><h1 style='color: red;'>ATTENZIONE</h1> devono essere settate tutte i campi</center>");
|
||||
this.$el.find('#popupDialog').popup("open");
|
||||
self.$el.find('#messaggio').html("<center><h1 style='color: red;'>ATTENZIONE</h1> devono essere settate tutte i campi</center>");
|
||||
self.$el.find('#popupDialog').popup("open");
|
||||
self._flagSave = false;
|
||||
return;
|
||||
}
|
||||
@@ -56,8 +56,8 @@ define(['jquery', 'underscore', 'backbone','text!modules/settings/settingsViewTe
|
||||
if(Profile.data.dataSpacc.privacy==="0")
|
||||
{
|
||||
self.$el.find('#titlePopup').html("Informativa privacy");
|
||||
this.$el.find('#messaggio').html("<center><h1 style='color: red;'>ATTENZIONE</h1> per proseguire è obbligatorio accettare l'informativa privacy</center>");
|
||||
this.$el.find('#popupDialog').popup("open");
|
||||
self.$el.find('#messaggio').html("<center><h1 style='color: red;'>ATTENZIONE</h1> per proseguire è obbligatorio accettare l'informativa privacy</center>");
|
||||
self.$el.find('#popupDialog').popup("open");
|
||||
self._flagSave = false;
|
||||
return;
|
||||
}
|
||||
@@ -82,7 +82,16 @@ define(['jquery', 'underscore', 'backbone','text!modules/settings/settingsViewTe
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Profile.updateProfile(function(){
|
||||
self._flagSave = false;
|
||||
self.$el.find('#titlePopup').html("Salvataggio");
|
||||
self.$el.find('#messaggio').html("Impostazioni salvate con successo");
|
||||
self.$el.find('#popupDialog').popup("open");
|
||||
});
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Profile.updateProfile(function(){
|
||||
|
||||
Reference in New Issue
Block a user