Title: pannel ajax content of Portal load data twicely Post by: zzdfc on March 23, 2018, 11:45:17 PM pannel ajax content of Portal load data twicely when calling 'add' method,
example: $('#pp').portal('add', { panel: p, columnIndex: 0 }); Title: Re: pannel ajax content of Portal load data twicely Post by: stworthy on March 24, 2018, 05:38:30 AM Please look at the code below. The 'onLoad' event fires only once.
Code: var p = $('<div/>').appendTo('body'); Title: Re: pannel ajax content of Portal load data twicely Post by: zzdfc on March 24, 2018, 06:40:28 PM you will find the 'onLoad' event to fire twice when you use server url for href.
Title: Re: pannel ajax content of Portal load data twicely Post by: stworthy on March 26, 2018, 12:13:58 AM Please look at this example https://jeasyui.com/demo/test/test4.html. The 'onLoad' event does fire only once.
Title: Re: pannel ajax content of Portal load data twicely Post by: Darrel on March 28, 2018, 09:20:38 AM Hi zzdfc,
Are you loading the easyui.js library file twice by mistake??? Because I had faced a similar issue due to this. Regards, Darrel |