⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

problem to open modal window after sorting field



amipax

amipax
  • profile picture
  • Member

Posted 20 June 2013 - 20:11 PM

I got stuck with a strange problem that happens when I first sort a field in the grid and then when I click on the image icon to see the images linked to that record . cases depicted in images below.

 

[attachment=580:normal-modal.jpg]

In this case , Fancybox modal window opens successfully when not sorting has been carried out.

 

[attachment=581:error-modall.jpg]

In this case,  I sorted by "comuna" field and then click on the icon to open the modal window, no modal windows opens but a new page .

 

 

I've noticed a firebug warning on"

Jquery: Use of attributes' specified attribute is deprecated. It always returns true", as the image show

[attachment=579:error-grid2.jpg]

could it be this is stopping the other js code from executing?

I found this link http://bugs.jquery.com/ticket/11397

 

I'm using Jquery 1.8.2 , i've tried 1.9.1 and i get the same error.

 

I'm also using image_crud to upload pictures

 

thanks