Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/571109e386a5a2018274d2abe0dd9cfce9a68893?style=unified&whitespace=ignore-eol
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
6 additions and
4 deletions
src/gui/UBTeacherGuideWidget.cpp
src/web/UBWebController.cpp
@ -163,7 +163,8 @@ UBTeacherGuideEditionWidget::~UBTeacherGuideEditionWidget()
void UBTeacherGuideEditionWidget : : onSliderMoved ( int size )
{
Q_UNUSED ( size ) ;
mpAddAMediaItem - > setExpanded ( true ) ;
if ( mpAddAMediaItem )
mpAddAMediaItem - > setExpanded ( true ) ;
}
# endif
void UBTeacherGuideEditionWidget : : showEvent ( QShowEvent * event )
@ -491,7 +492,8 @@ UBTeacherGuidePresentationWidget::~UBTeacherGuidePresentationWidget()
void UBTeacherGuidePresentationWidget : : onSliderMoved ( int size )
{
Q_UNUSED ( size ) ;
mpMediaSwitchItem - > setExpanded ( true ) ;
if ( mpMediaSwitchItem )
mpMediaSwitchItem - > setExpanded ( true ) ;
}
# endif
@ -733,8 +733,8 @@ bool UBWebController::isEduMedia(const QUrl& pUrl)
void UBWebController : : loadUrl ( const QUrl & url )
{
bool webBrowserAlreadyInstanciated = dynamic_cast < WBBrowserWindow * > ( mStackedWidget - > widget ( WebBrowser ) ) ! = NULL ;
UBApplication : : applicationController - > showInternet ( ) ;
bool webBrowserAlreadyInstanciated = dynamic_cast < WBBrowserWindow * > ( mStackedWidget - > widget ( WebBrowser ) ) ! = NULL ;
UBApplication : : applicationController - > showInternet ( ) ;
if ( UBSettings : : settings ( ) - > webUseExternalBrowser - > get ( ) . toBool ( ) )
{
QDesktopServices : : openUrl ( url ) ;