Skip to content
Snippets Groups Projects
Commit c742100c authored by srosse's avatar srosse
Browse files

Merge remote-tracking branch 'origin/OpenOLAT_12.5' into OpenOLAT_13.2

parents 5cb9d711 62d6a393
No related branches found
No related tags found
No related merge requests found
......@@ -518,6 +518,14 @@
jEl.css('height', jEl.attr('height') + "px");
}
});
jQuery('#collapse_${itemResult.interactionResults.solutionFormItem.name} div.o_oo_hotcontainer>div').each(function(index, el) {
var jEl = jQuery(el);
if(jEl.css('height') == '0px') {
var containerEl = jEl.closest("div.o_oo_hotcontainer");
jEl.css('height', containerEl.css('height'));
jEl.css('background-size', containerEl.css('width') + " " + containerEl.css('height'));
}
});
})
});
/* ]]> */
......
......@@ -551,9 +551,7 @@ public class QTI21Page {
public QTI21Page moveToVerticalSlider() {
By interactionBy = By.id("itemBody");
OOGraphene.waitElement(interactionBy, browser);
if(browser instanceof FirefoxDriver) {
OOGraphene.scrollTo(interactionBy, browser);
}
OOGraphene.scrollTo(interactionBy, browser);
return this;
}
......
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