Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/cbbf77f092e6321da6207193488a0e0b801772b6?style=unified&whitespace=ignore-change
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
7 additions and
2 deletions
src/core/UBSettings.cpp
src/gui/UBTBDocumentEditWidget.cpp
src/gui/UBTeacherBarDataMgr.cpp
@ -39,7 +39,7 @@ QString UBSettings::documentUpdatedAt = QString("UpdatedAt");
QString UBSettings : : sessionTitle = QString ( " sessionTitle " ) ;
QString UBSettings : : sessionTarget = QString ( " sessionTarget " ) ;
QString UBSettings : : sessionLicence = QString ( " sessionLicence " ) ;
QString UBSettings : : sessionKeywords = QString ( " sessionAuthor s " ) ;
QString UBSettings : : sessionKeywords = QString ( " sessionKeyword s " ) ;
QString UBSettings : : sessionLevel = QString ( " sessionLevel " ) ;
QString UBSettings : : sessionTopic = QString ( " sessionTopic " ) ;
QString UBSettings : : sessionAuthors = QString ( " sessionAuthors " ) ;
@ -1,3 +1,5 @@
# include <QDebug>
# include "UBTBDocumentEditWidget.h"
# include "customWidgets/UBGlobals.h"
@ -190,6 +192,7 @@ void UBTBDocumentEditWidget::clearFields()
void UBTBDocumentEditWidget : : onKeywordChanged ( const QString & kw )
{
mpDataMgr - > setKeywords ( kw ) ;
qDebug ( ) < < " >>> KEYWORD CHANGED: " < < kw ;
emit valueChanged ( ) ;
}
@ -59,7 +59,8 @@ void UBTeacherBarDataMgr::saveContent()
documentProxy - > setSessionTitle ( mSessionTitle ) ;
documentProxy - > setSessionTarget ( mSessionTarget ) ;
documentProxy - > setSessionLicence ( QString ( " %0 " ) . arg ( mSessionLicence ) ) ;
documentProxy - > setSessionKeywords ( mAuthors ) ;
qDebug ( ) < < " Saving keywords: " < < mKeywords ;
documentProxy - > setSessionKeywords ( mKeywords ) ;
documentProxy - > setSessionLevel ( mLevel ) ;
documentProxy - > setSessionTopic ( mTopic ) ;
documentProxy - > setSessionAuthor ( mAuthors ) ;
@ -81,6 +82,7 @@ void UBTeacherBarDataMgr::loadContent(bool docChanged)
mSessionTarget = documentProxy - > sessionTarget ( ) ;
mSessionLicence = ( eLicense ) documentProxy - > sessionLicence ( ) . toInt ( ) ;
mKeywords = documentProxy - > sessionKeywords ( ) ;
qDebug ( ) < < " Keywords loaded: " < < mKeywords < < " ( " < < documentProxy - > sessionKeywords ( ) < < " ) " ;
mLevel = documentProxy - > sessionLevel ( ) ;
mTopic = documentProxy - > sessionTopic ( ) ;
mAuthors = documentProxy - > sessionAuthors ( ) ;