White Miku Posted July 21, 2016 Posted July 21, 2016 Hello. There is several screenshots with descriptions: I've created an ACP page with table: Every row has an Edit button which launching this dialog: You on first launch OK. All fields are filled with content from DB. But if I close this dialog w/o saving and open another dialog, I see this: Added by field is empty. But content exist in DB. Then I close this dialog and open first dialog again: There is appeared new member badge O.o. Only page refresh fixes this. After refreshing page secon dialog displays normal result: This is code of edit() function: I've tried adding unique ID's to each field in dialog but this not helped.
HeadStand Posted July 21, 2016 Posted July 21, 2016 You should use the property data-ipsDialog-forceReload=true. In your rowButtons function, this would be included in the data array, for example: data => array( 'ipsDialog' => '', 'ipsDialog-forceReload' => true )
White Miku Posted July 21, 2016 Author Posted July 21, 2016 38 minutes ago, HeadStand said: You should use the property data-ipsDialog-forceReload=true. In your rowButtons function, this would be included in the data array, for example: data => array( 'ipsDialog' => '', 'ipsDialog-forceReload' => true ) Thank you very much My mistake...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.