diff --git a/core/src/plugins/gui.ajax/res/themes/orbit/html/gui.html b/core/src/plugins/gui.ajax/res/themes/orbit/html/gui.html index 1f075bd618..9d4ff3ce2a 100644 --- a/core/src/plugins/gui.ajax/res/themes/orbit/html/gui.html +++ b/core/src/plugins/gui.ajax/res/themes/orbit/html/gui.html @@ -23,7 +23,9 @@ var ajaxplorer, startParameters = {}, MessageHash={}; //AJXP_JSON_START_PARAMETERS document.observe("ajaxplorer:before_gui_load", function(e){ - React.initializeTouchEvents(true); + if(window.React){ + React.initializeTouchEvents(true); + } ajaxplorer.currentThemeUsesIconFonts = true; pydio.Parameters.set('currentThemeUsesIconFonts', true); document.documentElement.className += " ajxp_theme_orbit";