()
| 1123 | return Number(getUrlParameter("theShowFormOnly")) === 1; |
| 1124 | } |
| 1125 | function _bindClickEvents() { |
| 1126 | $(document).on( |
| 1127 | "click", |
| 1128 | _tableOverlayClass + " button.close", |
| 1129 | async function () { |
| 1130 | const parent = $(this).closest(_showTableInElement), |
| 1131 | parentWidth = parent.width(); |
| 1132 | |
| 1133 | if (_isShowFormOnly()) { |
| 1134 | $(".overview").addClass("notable"); |
| 1135 | $(".menutableindetails").show(); |
| 1136 | } |
| 1137 | $(document) |
| 1138 | .find(_tableOverlayClass) |
| 1139 | .animate({ left: "-" + parentWidth }, 200, function () { |
| 1140 | $(this).css({ visibility: "hidden" }); |
| 1141 | $(this).removeAttr("style"); |
| 1142 | }); |
| 1143 | |
| 1144 | if (!isUndefined(addedBreadcrumbId)) { |
| 1145 | await Breadcrumb.remove(addedBreadcrumbId); |
| 1146 | } |
| 1147 | |
| 1148 | removeTextEditor(); |
| 1149 | |
| 1150 | _showParentTable(); |
| 1151 | } |
| 1152 | ); |
| 1153 | const positionTableContainer = new DomElement(_showTableInElement, false); |
| 1154 | if (positionTableContainer.size() > 0) { |
| 1155 | resizeObserverInstance.observe(positionTableContainer.getDomElement()); |
| 1156 | } |
| 1157 | } |
| 1158 | function _getParentDescription(name) { |
| 1159 | let text = ""; |
| 1160 | if (_parentTableSelection) { |
no test coverage detected