I have a list that is 'ajaxified' so that opening the edit or details view is in a modal popup.
Both the form view and details view have their own javsacript files. (e.g. form_24.js and details_24.js) The popup works and the javascript files are loaded and work correctly if either the Edit or Details button is clicked.
But if, after I close the modal popup, I click either the Edit or Details (in any row) again - e..g to edit/view details in another row - the javascript files are not loaded with the modal popup. (This only happens if both the Edit and Details buttons had been previously clicked.)
Both the form view and details view have their own javsacript files. (e.g. form_24.js and details_24.js) The popup works and the javascript files are loaded and work correctly if either the Edit or Details button is clicked.
But if, after I close the modal popup, I click either the Edit or Details (in any row) again - e..g to edit/view details in another row - the javascript files are not loaded with the modal popup. (This only happens if both the Edit and Details buttons had been previously clicked.)