• This project
    • Loading...
  • Sign in

fe / YOHOBUYPC · Files

Go to a project

GitLab

  • Go to group
  • Project
  • Activity
  • Files
  • Commits
  • Pipelines 0
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 2
  • Members
  • Labels
  • Wiki
  • Forks
  • Network
  • Create a new issue
  • YOHOBUYPC
  • static
  • js
  • passport
  • back
  • email-success.js
  • respond to code review
    d86895c4
    by xuqi
    2016-02-14 14:11:14 +0800  
    Browse Files
email-success.js 439 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
/**
 * 找回密码-邮箱找回成功
 * @author: xuqi<qi.xu@yoho.cn>
 * @date: 2015/10/8
 */

var $ = require('jquery');

var $resend = $('#resend');

var tip = require('../../plugin/tip'),
    showTip = tip.show;

$resend.on('touchstart', function(e) {
    e.preventDefault();

    $.ajax({
        url: $resend.data('url'),
        type: 'GET',
        success: function(data) {
            showTip(data.message);
        }
    });
});