Sha256: e44c2948c290dc4063ec8c683ff1957138c9db870c5fb9a88cfa295ce0bf47c9
Contents?: true
Size: 811 Bytes
Versions: 2
Compression:
Stored size: 811 Bytes
Contents
$('#re_content').html('<%=escape_javascript(render('/users/pswd_forgot_form'))%>'); $('#user_pswd_forgot_submit').closest('div.re-form-button').re_form_button(); $("#user_pswd_forgot_cancel_wrapper").show(); $("#user_pswd_forgot_form").submit(function() { return false; }); $("#user_pswd_forgot_cancel").live('click', function() { $.fancybox.close(); return false; }); $("#user_pswd_forgot_submit").live('click', function() { $.re_block(); $.post($('#user_pswd_forgot_form').attr('action'), $('#user_pswd_forgot_form').serialize(), null, 'script'); return false; }); jQuery.re_error_message = function(message) { $('#pswd_forgot_error').html(message); $('#pswd_forgot_error').show(); } <%= re_alert_js %> $.re_unblock(); $.fancybox({ href: '#re_content'}); $('#user_email').focus();
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rules_engine_users-0.0.3 | rails_generators/templates/app/views/users/pswd_forgot_form.js.erb |
rules_engine_users-0.0.2 | rails_generators/templates/app/views/users/pswd_forgot_form.js.erb |