Compare commits
2 commits
029ad03fd5
...
b56fdeea72
| Author | SHA1 | Date | |
|---|---|---|---|
| b56fdeea72 | |||
| 5826504d0f |
2 changed files with 4 additions and 2 deletions
|
|
@ -1105,7 +1105,7 @@ class Item(models.Model):
|
|||
for a in Entity.objects.filter(id__in=[ox.fromAZ(i) for i in current_values]).values('name')
|
||||
]
|
||||
current_values = [ox.decode_html(ox.strip_tags(v.replace('<br>', ' '))) for v in current_values]
|
||||
current_values = [unicodedata.normalize('NFKD', v) for v in current_values]
|
||||
current_values = [unicodedata.normalize('NFKD', v) for v in current_values if v]
|
||||
self.update_facet_values(key, current_values)
|
||||
|
||||
def update_facet_values(self, key, current_values):
|
||||
|
|
|
|||
|
|
@ -412,7 +412,9 @@ pandora.ui.editPanel = function(isEmbed) {
|
|||
|
||||
updateSmallTimelineURL();
|
||||
ui.edits[ui.edit].view == 'grid' && enableDragAndDrop();
|
||||
that.gainFocus();
|
||||
if (!Ox.Focus.focusedElementIsInput()) {
|
||||
that.gainFocus();
|
||||
}
|
||||
}
|
||||
|
||||
function renderEdits() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue