Compare commits

...

3 Commits

Author SHA1 Message Date
Jérémy J 411fd42471 Updated CHANGELOG 2024-03-15 11:32:03 +01:00
Jérémy J 0b295ba5d7 Fix redirection after adding a new oneshot job 2024-03-15 11:28:11 +01:00
Jérémy J 1be233b29d Fix main menu label 2024-03-15 11:27:52 +01:00
6 changed files with 13 additions and 17 deletions
+9
View File
@@ -1,3 +1,12 @@
# Version 4.1.2
* Fix main menu label
* Fix redirection after adding a new oneshot job
# Version 4.1.1
* Fix NotModifiedContentFilter when creating new translation
# Version 4.1.0
* Allow Dataflow 4 by @jeremycr in https://github.com/code-rhapsodie/ezdataflow-bundle/pull/44
+1 -1
View File
@@ -91,7 +91,7 @@ class JobController extends Controller
}
return new JsonResponse([
'redirect' => $this->generateUrl('coderhapsodie.ezdataflow.main', ['_fragment' => 'oneshot'],
'redirect' => $this->generateUrl('coderhapsodie.ezdataflow.main', ['_fragment' => 'ibexa-tab-coderhapsodie-ezdataflow-code-rhapsodie-ezdataflow-oneshot'],
UrlGeneratorInterface::ABSOLUTE_URL),
]);
}
@@ -0,0 +1 @@
coderhapsodie.ezdataflow: eZ Dataflow
@@ -0,0 +1 @@
coderhapsodie.ezdataflow: eZ Dataflow
@@ -71,22 +71,6 @@
.closest('ul').querySelectorAll('li.ibexa-tabs__tab');
const tabs = document.getElementById('ibexa-tab-coderhapsodie-ezdataflow-code-rhapsodie-ezdataflow-repeating')
.closest('.tab-content').querySelectorAll('.tab-pane');
if (window.location.hash && window.location.hash === '#oneshot') {
labels.forEach((link) => link.classList.remove('active'));
tabs.forEach((tab) => tab.classList.remove('active'));
document.getElementById('ibexa-tab-label-coderhapsodie-ezdataflow-code-rhapsodie-ezdataflow-oneshot')
.closest('li.ibexa-tabs__tab').classList.add('active');
document.getElementById('ibexa-tab-coderhapsodie-ezdataflow-code-rhapsodie-ezdataflow-oneshot')
.closest('.tab-pane').classList.add('active');
}
if (window.location.hash && window.location.hash === '#history') {
labels.forEach((link) => link.classList.remove('active'));
tabs.forEach((tab) => tab.classList.remove('active'));
document.getElementById('ibexa-tab-label-coderhapsodie-ezdataflow-code-rhapsodie-ezdataflow-history')
.closest('li.ibexa-tabs__tab').classList.add('active');
document.getElementById('ibexa-tab-coderhapsodie-ezdataflow-code-rhapsodie-ezdataflow-history')
.closest('.tab-pane').classList.add('active');
}
});
</script>
{% endblock %}
@@ -44,6 +44,7 @@
.then((result) => {
if (result.redirect) {
window.location = result.redirect;
window.location.reload();
return;
}
const node = document.createElement('div');