次のようにコードコードをコピーします。
function checkinput(objectsource){{
if(objectsource.onclick){{
objectSource.oldonclick = objectsource.onclick;
objectSource.onclick = null;
}
var attachfile = $( '#attachment');
if(content.indexof( "attachment")!= -1 && attachfile == undefined){
if(!confide( 'メールコンテンツが記載されていますが、添付ファイルを追加するのを忘れるかもしれません。'){){
falseを返します。
}
}
objectSource.oldonclick();
}