first commit
This commit is contained in:
20
_rejestracja/Static/script/validate/extras.editProfile.js
Normal file
20
_rejestracja/Static/script/validate/extras.editProfile.js
Normal file
@@ -0,0 +1,20 @@
|
||||
$(document).ready(function() {
|
||||
$('._editProfile').each(function() {
|
||||
$(this).click(function() {
|
||||
$('#editProfileForm').submit();
|
||||
return false;
|
||||
})
|
||||
});
|
||||
$('._changePassword').each(function() {
|
||||
$(this).click(function() {
|
||||
$('#changePasswordForm').submit();
|
||||
return false;
|
||||
})
|
||||
});
|
||||
$('._cancel').each(function() {
|
||||
$(this).click(function() {
|
||||
document.location.href=this;
|
||||
return false;
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user