Skip to content

Bug on external url templates when used on nested template. #107

Open
@jhnmrls

Description

@jhnmrls

I found a bug on

<div data-content="comments" data-format="nestedTemplateFormatter" data-format-options='{"template":"assets/templates/comment_nested_template.html"}' ></div>

This doesn't work,

However there's a workaround via inline script

<div data-content="comments" data-format="nestedTemplateFormatter" data-format-options='{"template":"#comment_nested_template"}' ></div>

Note: I'm sure the link is correct because this one loads properly:

$('#posts').loadTemplate("assets/templates/post.html",{ },{});

there must be a problem on

handleTemplateLoadingSuccess function

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions