Authored by 刘传洋

merge from feature/3partyBind

... ... @@ -13,6 +13,8 @@ var labelMap = {
wechat: '微信'
};
document.domain = 'yohobuy.com';
// MDialog
function MDialog(opts) {
var that = this;
... ...
... ... @@ -4,11 +4,13 @@
var $ = require('yoho-jquery');
document.domain = 'yohobuy.com';
$(function() {
var type = $('#type').val();
var result = $('#bindResult').val();
var message = $('#bindResultMessage').val();
window.opener.bindTip(result, type, message);
window.opener && window.opener.bindTip && window.opener.bindTip(result, type, message);
window.close();
});
... ...
... ... @@ -310,6 +310,8 @@ function init() {
codeValidate();
validatePwd();
actionConfirm();
$('#sendmessage').click();
}
init();
... ...