クリックした要素の href を取得して関数に渡すのに問題があります。何か案は?
$('#smoke_confirm').click(function(e){
var href = $(this).attr("href");
tstconfirm(href);
e.preventDefault();
});
function tstconfirm(href){
smoke.confirm('Are you sure you want to delete?',function(e){
if (e){
window.location = $(href);
}
}, {cancel:"cancel", ok:"confirm"});
}