deselect all edits
This commit is contained in:
parent
5ff09f73ff
commit
55c40a9b88
1 changed files with 2 additions and 0 deletions
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue