A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/FineUploader/fine-uploader/issues/1945 below:

Calling reset() method results in duplicate templates with v5.15.3 · Issue #1945 · FineUploader/fine-uploader · GitHub

This repository was archived by the owner on Nov 20, 2018. It is now read-only.

This repository was archived by the owner on Nov 20, 2018. It is now read-only.

Calling reset() method results in duplicate templates with v5.15.3 #1945

Description Type of issue Uploader type Bug Report #### Fine Uploader version 5.15.3 Detailed explanation of the problem

I believe recent changes, released in 5.15.3, introduced a bug related to the core reset method. Each call to reset() results in a new qq template being appended to the container rather then resetting the existing contents.

I believe this issue was introduced in commit "0bfae7b" as part of PR #1903.

Previously, each call to template render would replace the contents (via innerHtml). But now, render appends contents as a child and does not clear existing contents.

I'm not very familiar with fine-uploader codebase or reasons for that PR, but if the changes in the PR are valid, then perhaps the core reset method needs to explicitly clear the container contents before calling render.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4