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