Commit 2567162f authored by EL HASSANE GARGEM's avatar EL HASSANE GARGEM
Browse files

rename onboarding

parent 95bfde97
var document_images_intro = introJs();
document_images_intro.setOptions({
document_images_intro.setOptions({'doneLabel', 'Next page',
steps: [
{
element: '#nav-doc-tab',
......@@ -15,10 +15,6 @@ steps: [
element: '#nav-models-tab',
intro: 'Handle Transcription and Segmentation models related to this document.',
position: 'bottom'
}, {
element: '#document-image-dropzone',
intro: 'Upload a new document part image.',
position: 'bottom'
},
{
element: '#import-selected',
......
......@@ -133,7 +133,7 @@ $(document).ready(function() {
<script src="{% static 'js/image_cards.js' %}"></script>
<script src="{% static 'js/lazyload.js' %}"></script>
<script src="{% static 'js/help.js' %}"></script>
<script src="{% static 'js/onboarding.js' %}"></script>
<script src="{% static 'js/onboarding_images.js' %}"></script>
{% endcompress %}
<script type="text/javascript">
......@@ -145,7 +145,8 @@ if (onboarding == "True")
});
document_images_intro.oncomplete(function() {
exitonboarding();
var edit_url = "{% url 'document-part-edit' pk=document.pk %}";
window.location.href = edit_url;
});
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment