mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
fix keyboard behaviour for category tables
This commit is contained in:
parent
1474f22fd7
commit
79cb0ba074
1 changed files with 2 additions and 2 deletions
|
@ -216,8 +216,8 @@ $(document).ready(function(){
|
|||
sibling = sibling.next();
|
||||
}
|
||||
|
||||
if (sibling.hasClass(Settings.ADD_DEL_BUTTONS_CLASS)) {
|
||||
sibling.find('.' + Settings.ADD_ROW_BUTTON_CLASS).click();
|
||||
// for tables with categories we add the entry and setup the new row on enter
|
||||
if (sibling.find("." + Settings.ADD_CATEGORY_BUTTON_CLASS).length) {
|
||||
sibling.find("." + Settings.ADD_CATEGORY_BUTTON_CLASS).click();
|
||||
|
||||
// set focus to the first input in the new row
|
||||
|
|
Loading…
Reference in a new issue