improve behaviour of deselect all

This commit is contained in:
David McMullin 2012-11-17 22:52:25 +00:00
parent f290bcf169
commit 0873ae9ab7

View file

@ -43,6 +43,12 @@
this.perform = function() {
if (self.noneSelected()) {
// clear the posts
app.page.collection.reset();
app.page.render();
// toggle the button
this.calculateToggleText();
return;
} else {
window.location = self.generateURL(); // hella hax