crosemffet
|
|
« on: November 10, 2016, 03:00:07 AM » |
|
I have one main.php page with regions:
<div id="p_north" data-options="region:'north',href:'_homeNorth.php'" style="height:80px"></div> <div id="p_south" data-options="region:'south',collapsible:false,loadingMessage:'',href:'_homeSouth.php'" style="height:30px;"></div> <div id="p_central" data-options="region:'center',title:'Main Title',loadingMessage:'',href:'_homeCentral.php'"></div>
sometimes, in p_central region, when modify the p_central panel title, causes the region reloads over and over again indefinitely. the code used is: $('#p_central').panel('setTitle', 'my New Title'); any idea...? thanks in advance,
additional notes: think I've discovered something new about it: if I try to set 2 things simultaneously on the panel the problem occurs more frequently: $('#p_central').panel({ title: 'zz', tools:[{ iconCls:'icon-next', handler:function(){alert('next');} },{ iconCls:'icon-blank', handler:function(){alert('blank')} }] })
|