Title: Easyloader error ver 1.9.3 using Crome Post by: WizPS on January 23, 2020, 06:35:51 AM When using Easyloader and Google Chrome I get an error. My EasyUI ver is 1.9.3 and below code works for first load, however when refreshing the page I get an error
Code: <!DOCTYPE html> <html> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <title>Pricing Service</title> <script src="jquery/jquery-3.4.1.min.js"></script> <script src="easyui/easyloader.js"></script> <script> using('layout', function () { }); </script> </head> <body class="easyui-layout"> <div data-options="region:'north',title:'North Title',split:true" style="height: 100px;"></div> <div data-options="region:'south',title:'South Title',split:true" style="height: 100px;"></div> <div data-options="region:'east',title:'East',split:true" style="width: 100px;"></div> <div data-options="region:'west',title:'West',split:true" style="width: 100px;"></div> <div data-options="region:'center',title:'center title'" style="padding: 5px; background: #eee;"></div </body> </html> Please advice. Title: Re: Easyloader error ver 1.9.3 using Crome Post by: jarry on January 23, 2020, 07:23:49 AM Please look at this example http://code.reloado.com/imufew4/edit#preview
Title: Re: Easyloader error ver 1.9.3 using Crome Post by: WizPS on January 23, 2020, 09:07:20 AM This is what I get after a couple of push on refresh or "F5" in my Google Chrome.
Title: Re: Easyloader error ver 1.9.3 using Crome Post by: jarry on January 23, 2020, 09:39:38 PM Please try to add a dependency to the 'panel' module.
Code: <script type="text/javascript"> $.extend(easyloader.modules, { panel: { js:'jquery.panel.js', css:'panel.css', dependencies:['parser'] } }); </script> This is the updated example. http://code.reloado.com/imufew4/2/edit#preview Title: Re: Easyloader error ver 1.9.3 using Crome Post by: WizPS on January 26, 2020, 03:26:01 PM Yes, thats works fine. Thank you!
|