Skip to content

Commit

Permalink
Fixed overflow CSS
Browse files Browse the repository at this point in the history
Fixed `$block` value in default form `ixsl:onsubmit`
  • Loading branch information
namedgraph committed Sep 26, 2024
1 parent 5c5d0fa commit 349a2fe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ li button.btn-edit-constructors, li button.btn-add-data, li button.btn-add-ontol
.faceted-nav input[type=checkbox]:checked + span { font-weight: bold; }
.parallax-nav a { cursor: pointer; }
#content-body { min-height: calc(100% - 14em); }
#content-body > .row-fluid { overflow-x: auto; margin-bottom: 20px; }
#content-body > .row-fluid, .constructor-triple.row-fluid { border-bottom: 2px solid rgb(223, 223, 223); }
#content-body > .row-fluid.drag-over { border-bottom: 4px dotted #0f82f5; }
#content-body > [about].row-fluid { overflow-x: auto; margin-bottom: 20px; }
#content-body > [about].row-fluid, .constructor-triple.row-fluid { border-bottom: 2px solid rgb(223, 223, 223); }
#content-body > [about].row-fluid.drag-over { border-bottom: 4px dotted #0f82f5; }
.list-mode.active { background-image: url('../icons/ic_navigate_before_black_24px.svg'); }
legend.create-action { background-image: url('../icons/ic_note_add_black_24px.svg'); background-position: 12px center; background-repeat: no-repeat; padding-left: 40px; }
alert.violation { background-image: url('../icons/ic_error_white_24px.svg '); background-position: 12px center; background-repeat: no-repeat; padding-left: 40px; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,7 @@ exclude-result-prefixes="#all"
</xsl:message>

<xsl:next-match>
<xsl:with-param name="block" select="$block"/>
<!-- append $sequence-triple to $request-body that is sent with the HTTP request, but not to $resources which are rendered after the block update (don't want to show it) -->
<xsl:with-param name="request-body" as="document-node()">
<xsl:document>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -498,8 +498,8 @@ WHERE
</xsl:param>
<xsl:param name="request-body" select="$resources" as="document-node()"/>
<xsl:sequence select="ixsl:call(ixsl:event(), 'preventDefault', [])"/>
<xsl:variable name="block" select="ancestor::div[@about][1]" as="element()"/>
<xsl:variable name="container" select="ancestor::div[@typeof][1]" as="element()?"/> <!-- no container means the form was modal -->
<xsl:variable name="block" select="$container" as="element()?"/> <!-- block has no @about at this stage (before saving it) -->
<xsl:variable name="form" select="." as="element()"/>
<xsl:variable name="id" select="ixsl:get($form, 'id')" as="xs:string"/>
<xsl:variable name="action" select="ixsl:get($form, 'action')" as="xs:anyURI"/>
Expand Down

0 comments on commit 349a2fe

Please sign in to comment.