* [bug#55109] Hide close button and disabled page when finish tutorial.
This commit is contained in:
@@ -31,3 +31,5 @@
|
||||
.pick-container {z-index: 1780;}
|
||||
.tutorial-has-mask #iframeWrapper {pointer-events: none;}
|
||||
.tutorial-has-mask #iframeWrapper::after {content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); z-index: 1479;}
|
||||
|
||||
.modal-dialog .modal-actions button[data-dismiss="modal"] {display: none;}
|
||||
|
||||
@@ -425,7 +425,7 @@ function activeNextStep(step)
|
||||
const actions = [];
|
||||
if(nextTask) actions.push({type: 'confirm', btnType: 'primary', text: `${lang.nextTask}${lang.colon}${nextTask.title}`, onClick: () => activeTask(step.guide.name, nextTask.name)}, {key: 'cancel', onClick: () => unactiveTask()});
|
||||
else if(nextGuideTask) actions.push({type: 'confirm', btnType: 'primary', text: `${lang.nextGuide}${lang.colon}${nextGuide.title}`, onClick: () => activeTask(nextGuide.name, nextGuideTask.name)}, {key: 'cancel', onClick: () => unactiveTask()});
|
||||
else actions.push('confirm');
|
||||
else actions.push({type: 'confirm', btnType: 'primary', text: lang.finish, onClick: () => unactiveTask()});
|
||||
zui.Modal.alert(
|
||||
{
|
||||
content: lang.congratulateTask.replace('<span class="task-name-current"></span>', step.task.title),
|
||||
|
||||
Reference in New Issue
Block a user