MOBILE-3320 quiz: Fix wrong element highlighted in D&D questions
parent
67ad72b425
commit
9dde9de784
|
@ -17,11 +17,9 @@
|
||||||
</core-format-text>
|
</core-format-text>
|
||||||
</ion-label>
|
</ion-label>
|
||||||
</ion-item>
|
</ion-item>
|
||||||
<ion-item class="ion-text-wrap" [hidden]="!ddQuestion.loaded">
|
<div class="fake-ion-item ion-text-wrap" [hidden]="!ddQuestion.loaded">
|
||||||
<ion-label>
|
<core-format-text *ngIf="ddQuestion.ddArea" [adaptImg]="false" [component]="component" [componentId]="componentId"
|
||||||
<core-format-text *ngIf="ddQuestion.ddArea" [adaptImg]="false" [component]="component" [componentId]="componentId"
|
[text]="ddQuestion.ddArea" [filter]="false" (afterRender)="ddAreaRendered()">
|
||||||
[text]="ddQuestion.ddArea" [filter]="false" (afterRender)="ddAreaRendered()">
|
</core-format-text>
|
||||||
</core-format-text>
|
</div>
|
||||||
</ion-label>
|
|
||||||
</ion-item>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -16,11 +16,9 @@
|
||||||
</core-format-text>
|
</core-format-text>
|
||||||
</ion-label>
|
</ion-label>
|
||||||
</ion-item>
|
</ion-item>
|
||||||
<ion-item class="ion-text-wrap" [hidden]="!ddQuestion.loaded">
|
<div class="fake-ion-item ion-text-wrap" [hidden]="!ddQuestion.loaded">
|
||||||
<ion-label>
|
<core-format-text *ngIf="ddQuestion.ddArea" [adaptImg]="false" [component]="component" [componentId]="componentId"
|
||||||
<core-format-text *ngIf="ddQuestion.ddArea" [adaptImg]="false" [component]="component" [componentId]="componentId"
|
[text]="ddQuestion.ddArea" [filter]="false" (afterRender)="ddAreaRendered()">
|
||||||
[text]="ddQuestion.ddArea" [filter]="false" (afterRender)="ddAreaRendered()">
|
</core-format-text>
|
||||||
</core-format-text>
|
</div>
|
||||||
</ion-label>
|
|
||||||
</ion-item>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -2,26 +2,24 @@
|
||||||
<!-- Content is outside the core-loading to let the script calculate drag items position -->
|
<!-- Content is outside the core-loading to let the script calculate drag items position -->
|
||||||
<core-loading [hideUntil]="ddQuestion.loaded"></core-loading>
|
<core-loading [hideUntil]="ddQuestion.loaded"></core-loading>
|
||||||
|
|
||||||
<ion-item class="ion-text-wrap" [hidden]="!ddQuestion.loaded">
|
<div class="fake-ion-item ion-text-wrap" [hidden]="!ddQuestion.loaded">
|
||||||
<ion-label>
|
<ion-card *ngIf="!ddQuestion.readOnly" class="core-info-card">
|
||||||
<ion-card *ngIf="!ddQuestion.readOnly" class="core-info-card">
|
<ion-item>
|
||||||
<ion-item>
|
<ion-icon name="fas-info-circle" slot="start" aria-hidden="true"></ion-icon>
|
||||||
<ion-icon name="fas-info-circle" slot="start" aria-hidden="true"></ion-icon>
|
<ion-label>{{ 'core.question.howtodraganddrop' | translate }}</ion-label>
|
||||||
<ion-label>{{ 'core.question.howtodraganddrop' | translate }}</ion-label>
|
</ion-item>
|
||||||
</ion-item>
|
</ion-card>
|
||||||
</ion-card>
|
<div class="addon-qtype-ddwtos-container">
|
||||||
<div class="addon-qtype-ddwtos-container">
|
<core-format-text [component]="component" [componentId]="componentId" [text]="ddQuestion.text"
|
||||||
<core-format-text [component]="component" [componentId]="componentId" [text]="ddQuestion.text"
|
[contextLevel]="contextLevel" [contextInstanceId]="contextInstanceId" [courseId]="courseId" #questiontext
|
||||||
[contextLevel]="contextLevel" [contextInstanceId]="contextInstanceId" [courseId]="courseId" #questiontext
|
(afterRender)="textRendered()">
|
||||||
(afterRender)="textRendered()">
|
</core-format-text>
|
||||||
</core-format-text>
|
|
||||||
|
|
||||||
<core-format-text *ngIf="ddQuestion.answers" [component]="component" [componentId]="componentId"
|
<core-format-text *ngIf="ddQuestion.answers" [component]="component" [componentId]="componentId"
|
||||||
[text]="ddQuestion.answers" [filter]="false" (afterRender)="answersRendered()">
|
[text]="ddQuestion.answers" [filter]="false" (afterRender)="answersRendered()">
|
||||||
</core-format-text>
|
</core-format-text>
|
||||||
|
|
||||||
<div class="drags"></div>
|
<div class="drags"></div>
|
||||||
</div>
|
</div>
|
||||||
</ion-label>
|
</div>
|
||||||
</ion-item>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue