Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moved to AWS, script type="text/template" not working #17

Closed
kdoonboli opened this issue Mar 23, 2016 · 2 comments
Closed

Moved to AWS, script type="text/template" not working #17

kdoonboli opened this issue Mar 23, 2016 · 2 comments

Comments

@kdoonboli
Copy link

I just moved to AWS, and noticed script type="text/template" does not work properly in image-single.htm. Notice how the open DIVs don't close. I tried making it simple, and removed everything inside the script block but one single

, then the output is similar, as it doesn't display the closing .

    <!-- Template for new file -->
    <script type="text/template" id="uploaderTemplateimageUploader">

            <div class="upload-object dz-preview dz-file-preview">
                  <a
              href="javascript:;"
              class="upload-remove-button"
              data-request="imageUploader::onRemoveAttachment"
              data-request-confirm="Replace picture?"                 >
                    <div class="icon-container image">
                        <img data-dz-thumbnail class="avatar img-circle" style="width: 160px;height: 160px;" />
    </script>

This is what happens when I have single DIV

<script type="text/template" id="uploaderTemplateimageUploader">

    <div>

</script>
@daftspunk
Copy link
Member

I'm at a loss. How do I replicate this?

@kdoonboli
Copy link
Author

Found the issue! It seems like that I happened to add 'one extra' plugin when I migrated to AWS - ResponsiveImages. And that broke the code! I removed ResponsiveImages by author 'OFFLINE' and now it works again. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants