29 lines
721 B
JavaScript
29 lines
721 B
JavaScript
$(function() {
|
|
$('.menu.profile .item').tab();
|
|
|
|
$('.ui.calendar').calendar({
|
|
type : 'date',
|
|
firstDayOfWeek : 1,
|
|
startMode : 'year'
|
|
});
|
|
|
|
$('.ui.form').form({
|
|
fields: {
|
|
'user-email' : 'email',
|
|
match : {
|
|
identifier : 'user-password-repeat',
|
|
depends : 'user-password',
|
|
rules : [
|
|
{
|
|
type : 'match[user-password]',
|
|
prompt : text.form_profile_password
|
|
}
|
|
]
|
|
},
|
|
}
|
|
});
|
|
|
|
$('.ui.dropdown').dropdown({
|
|
sortSelect : 'natural',
|
|
});
|
|
});
|