Fix bug for table widget.

This commit is contained in:
BoHung Chiu 2021-04-07 18:47:22 +08:00
parent 6a043606be
commit 667c5e513b
1 changed files with 2 additions and 2 deletions

View File

@ -188,7 +188,7 @@ class AnnouncementsController < ApplicationController
"outClass":"fade-out", "outClass":"fade-out",
"linkElement": "[data-list=\"announcements\"] > *", "linkElement": "[data-list=\"announcements\"] > *",
"children_text_block": ".w-annc__content-wrap", "children_text_block": ".w-annc__content-wrap",
"container_block": "[data-subpart-id=\"'+subpart.id.to_s+'\"] [data-list=\"announcements\"]", "container_block": "[data-subpart-id=\"'+subpart.id.to_s+'\"] [data-list=\"announcements\"]:not(tbody)",
"parent_block": "[data-subpart-id=\"'+subpart.id.to_s+'\"]", "parent_block": "[data-subpart-id=\"'+subpart.id.to_s+'\"]",
"filter_bar": ".nav_tabs_filter", "filter_bar": ".nav_tabs_filter",
"filter_option": "li.filter_tab", "filter_option": "li.filter_tab",
@ -199,7 +199,7 @@ class AnnouncementsController < ApplicationController
}; };
}else{ }else{
wpexAnimsition.parent_block = wpexAnimsition.parent_block + ", [data-subpart-id=\"'+subpart.id.to_s+'\"]"; wpexAnimsition.parent_block = wpexAnimsition.parent_block + ", [data-subpart-id=\"'+subpart.id.to_s+'\"]";
wpexAnimsition.container_block = wpexAnimsition.container_block + ", [data-subpart-id=\"'+subpart.id.to_s+'\"] [data-list=\"announcements\"]"; wpexAnimsition.container_block = wpexAnimsition.container_block + ", [data-subpart-id=\"'+subpart.id.to_s+'\"] [data-list=\"announcements\"]:not(tbody)";
} }
var wpexLocalize = { var wpexLocalize = {
"lightboxType": "iLightbox", "lightboxType": "iLightbox",