Skip to content

Commit 9b476ca

Browse files
committed
More on-failure on promises
1 parent a35e956 commit 9b476ca

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

  • src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client

src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/form.xsl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ WHERE
294294
=> ixsl:then(ldh:handle-response#1) (: Step 6: handle retry if needed :)
295295
=> ixsl:then(ldh:load-type-metadata#1) (: Step 7: final step using full context :)
296296
=> ixsl:then(ldh:render-row-form#1)
297-
"/>
297+
" on-failure="ldh:promise-failure#1"/>
298298
</xsl:template>
299299

300300
<!-- open a form form document editing -->
@@ -351,7 +351,7 @@ WHERE
351351
=> ixsl:then(ldh:load-type-metadata#1) (: Step 7: final step using full context :)
352352
=> ixsl:then(ldh:wrap-into-document#1)
353353
=> ixsl:then(ldh:render-form#1)
354-
"/>
354+
" on-failure="ldh:promise-failure#1"/>
355355
</xsl:template>
356356

357357
<xsl:function name="ldh:load-edited-resource" as="map(*)" ixsl:updating="yes">
@@ -640,7 +640,7 @@ WHERE
640640
=> ixsl:then(ldh:rethread-response($context, ?)) (: Step 2: attach response to context :)
641641
=> ixsl:then(ldh:handle-response#1) (: Step 3: handle 429s, etc. :)
642642
=> ixsl:then(ldh:form-horizontal-response#1)
643-
"/>
643+
" on-failure="ldh:promise-failure#1"/>
644644
</xsl:otherwise>
645645
</xsl:choose>
646646
</xsl:template>
@@ -816,7 +816,7 @@ WHERE
816816
=> ixsl:then(ldh:rethread-response($context, ?)) (: Step 2: attach response to context :)
817817
=> ixsl:then(ldh:handle-response#1) (: Step 3: handle 429s, etc. :)
818818
=> ixsl:then(ldh:row-form-patch-response#1)
819-
"/>
819+
" on-failure="ldh:promise-failure#1"/>
820820
</xsl:template>
821821

822822
<!-- add new property to form -->
@@ -1019,7 +1019,7 @@ WHERE
10191019
=> ixsl:then(ldh:rethread-response($context, ?)) (: Step 2: attach response to context :)
10201020
=> ixsl:then(ldh:handle-response#1) (: Step 3: handle 429s, etc. :)
10211021
=> ixsl:then(ldh:xhtml-document-loaded#1)
1022-
"/>
1022+
" on-failure="ldh:promise-failure#1"/>
10231023
</xsl:for-each>
10241024
</xsl:function>
10251025

@@ -1042,7 +1042,7 @@ WHERE
10421042
=> ixsl:then(ldh:rethread-response($context, ?)) (: Step 2: attach response to context :)
10431043
=> ixsl:then(ldh:handle-response#1) (: Step 3: handle 429s, etc. :)
10441044
=> ixsl:then(ldh:xhtml-document-loaded#1)
1045-
"/>
1045+
" on-failure="ldh:promise-failure#1"/>
10461046
</xsl:for-each>
10471047
</xsl:function>
10481048

0 commit comments

Comments
 (0)