MOBILE-2428 core: Remove unneeded todo
parent
d61a2e597c
commit
3d2e056a79
|
@ -83,7 +83,7 @@ import { CoreSitePluginsQuizAccessRuleComponent } from '@core/siteplugins/compon
|
|||
import { CoreSitePluginsAssignFeedbackComponent } from '@core/siteplugins/components/assign-feedback/assign-feedback';
|
||||
import { CoreSitePluginsAssignSubmissionComponent } from '@core/siteplugins/components/assign-submission/assign-submission';
|
||||
|
||||
// Import addon providers. Do not import database module because it causes circular dependencies. @todo workshop
|
||||
// Import addon providers. Do not import database module because it causes circular dependencies.
|
||||
import { ADDON_BADGES_PROVIDERS } from '@addon/badges/badges.module';
|
||||
import { ADDON_CALENDAR_PROVIDERS } from '@addon/calendar/calendar.module';
|
||||
import { ADDON_COMPETENCY_PROVIDERS } from '@addon/competency/competency.module';
|
||||
|
|
|
@ -819,8 +819,6 @@ export class CoreCourseHelperProvider {
|
|||
moduleInfo.sizeReadable = this.textUtils.bytesToSize(moduleSize, 2);
|
||||
}));
|
||||
|
||||
// @todo: Decide what to display instead of timemodified. Last check_updates?
|
||||
|
||||
promises.push(this.prefetchDelegate.getModuleStatus(module, courseId).then((moduleStatus) => {
|
||||
moduleInfo.status = moduleStatus;
|
||||
switch (moduleStatus) {
|
||||
|
|
|
@ -187,7 +187,6 @@ export class CoreExternalContentDirective implements AfterViewInit {
|
|||
this.logger.debug('Using URL ' + finalUrl + ' for ' + url);
|
||||
if (tagName === 'SOURCE') {
|
||||
// The browser does not catch changes in SRC, we need to add a new source.
|
||||
// @todo: Check if changing src works in Android 4.4, maybe the problem was only in 4.1-4.3.
|
||||
this.addSource(finalUrl);
|
||||
} else {
|
||||
this.element.setAttribute(targetAttr, finalUrl);
|
||||
|
|
|
@ -186,7 +186,6 @@ export class CoreFormatTextDirective implements OnChanges {
|
|||
this.element.innerHTML = ''; // Remove current contents.
|
||||
if (this.maxHeight && div.innerHTML != '') {
|
||||
// Move the children to the current element to be able to calculate the height.
|
||||
// @todo: Display the element?
|
||||
this.domUtils.moveChildren(div, this.element);
|
||||
|
||||
// Height cannot be calculated if the element is not shown while calculating.
|
||||
|
|
Loading…
Reference in New Issue