From 55c40a9b88fd04a84f9c192f772319a0f1d3ac43 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sun, 14 Jul 2013 17:49:24 +0000 Subject: [PATCH] deselect all edits --- static/js/pandora/allItems.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/static/js/pandora/allItems.js b/static/js/pandora/allItems.js index 4ad1d911..1cc7ac8a 100644 --- a/static/js/pandora/allItems.js +++ b/static/js/pandora/allItems.js @@ -22,6 +22,7 @@ pandora.ui.allItems = function() { } }) .bindEvent({ + pandora_edit: updateSelected, pandora_find: updateSelected, pandora_section: updateSelected, pandora_text: updateSelected @@ -112,6 +113,7 @@ pandora.ui.allItems = function() { function updateSelected() { that[ (pandora.user.ui.section == 'items' && pandora.user.ui._list) + || (pandora.user.ui.section == 'edits' && pandora.user.ui.edit) || (pandora.user.ui.section == 'texts' && pandora.user.ui.text) ? 'removeClass' : 'addClass' ]('OxSelected');