Customer portal : User Profile brick that allows basic Contact informations edition, password / preferences change from the portal

SVN:trunk[4068]
This commit is contained in:
Guillaume Lajarige
2016-05-12 10:22:23 +00:00
parent 6540c547a4
commit 6297809716
14 changed files with 812 additions and 83 deletions

View File

@@ -231,11 +231,6 @@ $(function()
}
return this.options.is_valid;
},
// Debug helper
showOptions: function()
{
return this.options;
},
_loadCssFile: function(url)
{
if (!$('link[href="' + url + '"]').length)
@@ -322,6 +317,15 @@ $(function()
this.options.style_element.text(this.buildData.style_code);
eval(this.options.script_element.text());
}
},
hasTouchedFields: function()
{
return (this.options.touched_fields.length > 0);
},
// Debug helper
showOptions: function()
{
return this.options;
},
});
});

View File

@@ -78,7 +78,7 @@ $(function()
var value = null;
this.element.find(':input').each(function(iIndex, oElem){
if($(oElem).is(':hidden') || $(oElem).is(':text') || $(oElem).is('textarea'))
if($(oElem).is(':hidden') || $(oElem).is(':text') || $(oElem).is(':password') || $(oElem).is('textarea'))
{
value = $(oElem).val();
}