mirror of
https://github.com/claudehohl/Stikked.git
synced 2025-04-25 20:41:20 -05:00
parse ids
This commit is contained in:
parent
eb1f629a15
commit
b1eef47fbe
@ -61,11 +61,13 @@ ST.spamadmin = function() {
|
||||
filter: 'tr',
|
||||
cancel: 'a',
|
||||
stop: function() {
|
||||
var result = $("#select-result").empty();
|
||||
$(".ui-selected", this).each(function() {
|
||||
var index = $("tr").index(this);
|
||||
result.append(" #" + (index + 1));
|
||||
var $result = $("#select-result").empty();
|
||||
$result.append('Delete: ');
|
||||
$(".ui-selected", this).each(function(i, el) {
|
||||
var id = $('a', el).attr('href').split('view/')[1];
|
||||
$result.append(" " + (id));
|
||||
});
|
||||
$result.append('?');
|
||||
}
|
||||
});
|
||||
};
|
||||
|
@ -37,6 +37,7 @@
|
||||
<?php }?>
|
||||
</tbody>
|
||||
</table>
|
||||
<div id="select-result"></div>
|
||||
<?php } else { ?>
|
||||
<p><?php echo lang('paste_missing'); ?> :(</p>
|
||||
<?php }?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user