theme error after upgrade to mendix 5.10

0
After upgrading our uat from 3.3.7 to 5.10 our theme is not working and the login screen is not displaying. Has the mx. ref changed? Error: ReferenceError: mx is not defined this is our Index.html <html> <head> <title>Custom</title> <!-- keeping IE8-9 in standards mode --> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta http-equiv="expires" content="0" /> <meta http-equiv="pragma" content="no-cache" /> <script type="text/javascript" src="mxclientsystem/dojo/dojo.js" djConfig=" rtlRedirect: 'index-rtl.html' "> </script> <link rel="shortcut icon" href="favicon.ico" /> <link type="text/css" rel="stylesheet" href="mxclientsystem/mxui/ui/mxui.css" media="screen"/> <link type="text/css" rel="stylesheet" href="ui/theme-Custom/layout.css" media="screen"/> <link type="text/css" rel="stylesheet" href="ui/theme-Custom/custom.css" media="screen"/> </head> <body class="tundra"> <div dojoType="dijit.layout.BorderContainer" design="headline" gutters="false" id="mainbox" class="MxClient_mainContainer" > <div dojoType="dijit.layout.ContentPane" region="top" id="topPane" class="MxClient_topPane" > <div class="MxClient_headerPane"> <div class="MxClient_logoPane png"></div> <div dojoType="mxui.widget.Toolbar" id="MxClient_toolbar" class="MxClient_toolbar"></div> </div> <div class="MxClient_navigationPane"> <div class="MxClient_loader" id="MxClient_loader"></div> <div dojoType="mxui.widget.Navbar" id="MxClient_navbar" class="MxClient_navbar"></div> </div> </div> <div dojoType="dijit.layout.BorderContainer" region="center" design="sidebar" liveSplitters="false" class="MxClient_contentContainer" > <div dojoType="mxui.widget.ScreenBuffer" region="center" id="contentPort" class="MxClient_contentPane" > </div> </div> <div dojoType="dijit.layout.ContentPane" region="bottom" class="MxClient_bottomPane" > <div class="MxClient_footerPane"> Comp1 : 021.... - Comp2 : 021... - Comp3 : 021....</a> </div> </div> </div> <script type="text/javascript" src="mxclientsystem/mendix/mendix.js"></script> <script type="text/javascript"> mx.addOnLoad(function(){if(dojo.isFF&&dojo.isFF<4){var d=function(a,b,c){return a.getAttribute("class")==b?a:c==0?null:d(a.parentNode,b,--c)};mendix.wm.focus.put=function(a){if(!a||a.nodeType!=1)return!1;setTimeout(function(){try{var b=a.getBoundingClientRect(),c=d(a,"mendixFormView_contentPane",10);if(c)var e=c.getBoundingClientRect(),f=e.top,g=e.bottom;else f=0,g=window.innerHeight-10;b.top>=f&&b.bottom<=g||a.scrollIntoView();a.focus()}catch(h){logger.error("mendix.wm.focus.put : "+h.message)}b=a.nodeName.toLowerCase();(b=="input"&&a.type=="text"||b=="textarea")&&a.select&&a.select()},0)}}}); </script> </body> </html>
asked
1 answers
0

I assume you have read this

Regards,

Ronald

answered