mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-12 23:17:02 +02:00
added a not spam link to preview pane
This commit is contained in:
@ -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]");
|
||||
|
Reference in New Issue
Block a user