https://antibiotiqueaugmentin.com/surdosage-augmentin-bebe/
× Welcome to the ToolsJX forum!


image view with jcepopup disfunction after search

  • stella
  • stella's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 10 months ago #2262

I have created a view and used CONCAT("<img src="', image_field, '" class="jcepopup">'), when the page first load, it success, but after when I search for items, the jcepopup is no longer working. it jumps to a page of the image full itself. how can i fix this?

Please Log in or Create an account to join the conversation.

More
10 years 10 months ago #2264

Hi,

This is a known issue. The thing is, that when you search or sort the newly loaded table loses the properties defined with any javascript code. Current solution is not trivial. You have to check the jcepopup plugin, and learn how it is possible to redefine those properties on each refresh (search, sort, pagination) of the table. The place where you can add such javascript code is in function SimpleAJAXCallback in /components/com_grid/js/grid.js.

Please Log in or Create an account to join the conversation.

Moderators: tomaz
Time to create page: 0.234 seconds

Contact Us

Contact us on Discord

Contact us on Facebook