1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-07-11 00:26:18 +02:00
Files
php-monstra/plugins/box/users/js/users.js
2012-11-12 23:47:13 +02:00

20 lines
394 B
JavaScript

if (typeof $.monstra == 'undefined') $.monstra = {};
$.monstra.users = {
init: function() {
this.usersFrontendRegistration();
},
usersFrontendRegistration: function() {
$("[name=users_frontend_registration]").click(function() {
$("[name=users_frontend]").submit();
});
}
};
$(document).ready(function(){
$.monstra.users.init();
});