git-svn-id: https://msi/svn/firstRepo/WebClient/branches/Manut_3.0.1@72 0f545695-f87b-41b6-9a03-7f16563b5454
This commit is contained in:
@@ -193,6 +193,17 @@ define(['jquery', 'underscore', 'backbone','text!modules/settings/settingsViewTe
|
||||
}
|
||||
else
|
||||
this.$el.find('#mapSpacc > :not(.ui-checkbox:has(#spacc-PMChk))').hide();
|
||||
|
||||
if(this.$el.find('#stato').val() !== "ITALIA")
|
||||
{
|
||||
this.$el.find('#provTxt').parent().show();
|
||||
this.$el.find('#prov').parent().hide();
|
||||
}
|
||||
else
|
||||
{
|
||||
this.$el.find('#provTxt').parent().hide();
|
||||
this.$el.find('#prov').parent().show();
|
||||
}
|
||||
},
|
||||
|
||||
//render the content into div of view
|
||||
@@ -214,6 +225,8 @@ define(['jquery', 'underscore', 'backbone','text!modules/settings/settingsViewTe
|
||||
this.$el.find('#spacc-PMChk').prop('checked', Profile.data.isSpacc==="0"?false:true);
|
||||
this.$el.find('#email').val(Profile.data.email);
|
||||
this.$el.find('#stato').val(Profile.data.dataSpacc.stato);
|
||||
this.$el.find('#provTxt').parent().hide();
|
||||
this.$el.find('#prov').parent().hide();
|
||||
if(this.$el.find('#stato').val() !== "ITALIA")
|
||||
{
|
||||
this.$el.find('#provTxt').parent().show();
|
||||
|
||||
Reference in New Issue
Block a user