You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all I would like to thank you for such a great work on YiiBooster. It became really a de facto standard for development of Yii+Bootstrap projects.
Coming to the issue that I would like to discuss as stated in the subject it relates to TbExtendedGridView functionality.
Here is how my interface look like (sorry, menus are in Russian):
Menu on the left is a set of AJAX links stored in _menubystatus view:
As you can see upon clicking on the items of this list action AdminByStatus in productfeedback controller is executed and it's result is placed into #reviews div. The action is quite simple:
As you can see there are also AJAX buttons in the grid which allow me to approve/reject the reviews and update the grid upon successful execution.
Unfortunately the problem is that after some multiple movements between the different menu items (e.g. Pending Reviews, Approved Reviews) clicking approve/reject AJAX buttons in the grid causes Firefox to hang and Chrome to put the following info in the console during the grid update:
After some digging I found out that the problem is specifically in the method registerCustomClientScript of TbExtendedGridView as everything behaves correctly in TbGridView. Also adding console.log into the following piece of JS code allowed me to find the infinite loop there after the same grid is loaded twice or more:
if(qs.hasOwnProperty("ajax")&&qs.ajax=="' . $this->id . '"){options.realsuccess=options.success;options.success=function(data){//console.log("We are here2!");if(options.realsuccess){options.realsuccess(data);
Unfortunately I'm not good at JQuery/JS myself therefore I can't figure out the way to resolve this issue.
Please let me know if any additional clarifications are needed and thank you very much in advance for the help!
The text was updated successfully, but these errors were encountered:
The sequence of actions is: go to Approved Reviews, reject the review presented there, go to Rejected Reviews and try to approve it - here the problem comes out.
@xloading Man, you're just awesome. So much info for a bug is a rare find. We don't have Antonio among the developers anymore. I'm a current maintainer of YiiBooster for now. I'll look into this bug for sure.
Hi Antonio and All,
First of all I would like to thank you for such a great work on YiiBooster. It became really a de facto standard for development of Yii+Bootstrap projects.
Coming to the issue that I would like to discuss as stated in the subject it relates to TbExtendedGridView functionality.
Here is how my interface look like (sorry, menus are in Russian):
Menu on the left is a set of AJAX links stored in _menubystatus view:
As you can see upon clicking on the items of this list action AdminByStatus in productfeedback controller is executed and it's result is placed into #reviews div. The action is quite simple:
And _adminbystatus view contains only the TbExtendedGridView actually:
As you can see there are also AJAX buttons in the grid which allow me to approve/reject the reviews and update the grid upon successful execution.
Unfortunately the problem is that after some multiple movements between the different menu items (e.g. Pending Reviews, Approved Reviews) clicking approve/reject AJAX buttons in the grid causes Firefox to hang and Chrome to put the following info in the console during the grid update:
After some digging I found out that the problem is specifically in the method registerCustomClientScript of TbExtendedGridView as everything behaves correctly in TbGridView. Also adding console.log into the following piece of JS code allowed me to find the infinite loop there after the same grid is loaded twice or more:
Unfortunately I'm not good at JQuery/JS myself therefore I can't figure out the way to resolve this issue.
Please let me know if any additional clarifications are needed and thank you very much in advance for the help!
The text was updated successfully, but these errors were encountered: