Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/ef2e24c0d80dff8efd85146f5b3920032605ffc7?style=split&whitespace=ignore-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
6 additions and
1 deletions
src/gui/UBTeacherBarWidget.cpp
@ -352,6 +352,8 @@ void UBTeacherBarWidget::loadContent()
mpComments - > document ( ) - > setPlainText ( nextInfos . comments ) ;
mpComments - > document ( ) - > setPlainText ( nextInfos . comments ) ;
}
}
mpPreview - > mediaViewer ( ) - > cleanMedia ( ) ;
if ( ! isEmpty ( ) ) {
if ( ! isEmpty ( ) ) {
// Update the fields of the preview widget
// Update the fields of the preview widget
mpPreview - > setTitle ( mpTitle - > text ( ) ) ;
mpPreview - > setTitle ( mpTitle - > text ( ) ) ;
@ -366,9 +368,12 @@ void UBTeacherBarWidget::loadContent()
mpPreview - > setDuration ( eDuration_ThreeQuarter ) ;
mpPreview - > setDuration ( eDuration_ThreeQuarter ) ;
}
}
mpPreview - > setComments ( mpComments - > document ( ) - > toPlainText ( ) ) ;
mpPreview - > setComments ( mpComments - > document ( ) - > toPlainText ( ) ) ;
mpPreview - > mediaViewer ( ) - > cleanMedia ( ) ;
mpPreview - > mediaViewer ( ) - > loadMedia ( nextInfos . medias ) ;
mpPreview - > mediaViewer ( ) - > loadMedia ( nextInfos . medias ) ;
}
}
else {
mpStackWidget - > setCurrentWidget ( mpContainer ) ;
}
}
}