Skip to content
Snippets Groups Projects
Commit f1835fe2 authored by Marius Dumitru Florea's avatar Marius Dumitru Florea
Browse files

[misc] Make the exporter work with buttons added later (after the export modal is initialized).

(cherry picked from commit 27c69e29)
parent db04a969
No related branches found
No related tags found
No related merge requests found
......@@ -470,7 +470,7 @@ require(['jquery', paths.treeRequireConfig], function ($) {
}).appendTo("body");
// Export modal submit.
$('#exportModalOtherCollapse a.btn-primary').on('click', function (event) {
$('#exportModalOtherCollapse').on('click', 'a.btn-primary', function (event) {
var exportTree = $(this).closest('#exportModalOtherCollapse').find('.export-tree');
if (exportTree.length > 0) {
event.preventDefault();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment