Extended profile - allow adding more than one website
This commit is contained in:
parent
b80b9f31fc
commit
724dba668a
@ -267,7 +267,7 @@ class ExtendedProfileWidget extends Form
|
|||||||
$this->out->elementStart(
|
$this->out->elementStart(
|
||||||
'div', array(
|
'div', array(
|
||||||
'id' => $id . '-edit',
|
'id' => $id . '-edit',
|
||||||
'class' => 'website-edit'
|
'class' => 'website-item'
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
$this->out->input(
|
$this->out->input(
|
||||||
|
@ -105,7 +105,7 @@ $(document).ready(function() {
|
|||||||
|
|
||||||
$("input[name$=-start], input[name$=-end], #extprofile-birthday").datepicker({ dateFormat: 'd M yy' });
|
$("input[name$=-start], input[name$=-end], #extprofile-birthday").datepicker({ dateFormat: 'd M yy' });
|
||||||
|
|
||||||
var multifields = ["phone-item", "experience-item", "education-item", "im-item"];
|
var multifields = ["phone-item", "experience-item", "education-item", "im-item", 'website-item'];
|
||||||
|
|
||||||
for (f in multifields) {
|
for (f in multifields) {
|
||||||
SN_EXTENDED.reorder(multifields[f]);
|
SN_EXTENDED.reorder(multifields[f]);
|
||||||
|
Loading…
Reference in New Issue
Block a user