added a not spam link to preview pane

This commit is contained in:
SJ
2014-01-16 12:57:29 +01:00
parent c859b93096
commit 4b08cc3f96
6 changed files with 88 additions and 0 deletions

View File

@ -303,6 +303,21 @@ var Piler =
},
not_spam:function(id)
{
Piler.log("[not_spam]", id);
jQuery.ajax('index.php?route=message/notspam', {
data: { id: id },
type: "POST"
})
.done( function( a ) {})
.fail(function(a, b) { alert("Problem retrieving XML data:" + b) });
Piler.show_message('messagebox1', "OK", 0.8);
},
restore_message:function(id)
{
Piler.log("[restore_message]");