Commit 00b17afb by doszhang

dos

parent bceed6f8
......@@ -429,18 +429,6 @@ function drawImage() {
uploadctx.restore();
}
function checkWord(name,callback) {
$.ajax({
url: 'index/checkWord',
type: 'POST', data:{
name:name
},
success: function(resp){
callback(resp.status);
}
})
}
function getManBase64(canvas) {
return canvas.toDataURL('image/png');
}
......@@ -546,15 +534,7 @@ function checkWord(name,callback) {
name:name
},
success: function(resp){
if(resp.status == 1)
{
callback();
}
else
{
$('#notification_area').remove();
my_notify(resp.msg);
}
callback(resp.status);
}
})
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment