This is an automated email from the ASF dual-hosted git repository. suddjian pushed a commit to branch kill-jquery in repository https://gitbox.apache.org/repos/asf/superset.git
commit 138e231ad6b9b6e56a60f537dc6327a939d462f6 Author: David Aaron Suddjian <[email protected]> AuthorDate: Fri Mar 19 14:24:43 2021 -0700 remove jquery from import_dashboards.html --- superset/templates/superset/import_dashboards.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset/templates/superset/import_dashboards.html b/superset/templates/superset/import_dashboards.html index 226df02..999c7d1 100644 --- a/superset/templates/superset/import_dashboards.html +++ b/superset/templates/superset/import_dashboards.html @@ -43,7 +43,7 @@ name="file" accept=".json" style="display:none;" - onchange="$('#upload-file-info').html(this.files[0].name)"/> + onchange="document.getElementById('upload-file-info').innerText = this.files[0].name"/> {{ _("Choose File") }} </label> <span class='label label-info' id="upload-file-info"></span>
