Fixed 2 bad references to the old list of selected rows.

fixed #125
This commit is contained in:
Antoine Nguyen
2011-03-21 11:00:58 +01:00
parent e40536e4f8
commit eae8826816
@@ -315,11 +315,11 @@
buildmarkrequest = function(evt) {
evt.stop();
if (!selectedRows.length) {
if (!emails_table._selectedRows.length) {
return;
}
var ids = new Array();
selectedRows.each(function(item, index) {
emails_table._selectedRows.each(function(item, index) {
ids.include(item.get("id"));
});
simple_request(evt.target.get("href"), {ids : ids.join()});