Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flexible forceReload and renderAjax #37

Merged
merged 10 commits into from
Nov 15, 2015
Merged

Conversation

drsdre
Copy link
Contributor

@drsdre drsdre commented Nov 6, 2015

Moved 'forceReload' ID logic from Javascript to PHP to allow refreshing a different Pjax container (making ModalRemote.js more generic). For backwards compatibility kept 'forceReload = true' functionality to target by default '#crud-datatable-pjax'.
Changed renderPartial to renderAjax to allow for CSS and JS updates in modal content (needed to handle specific JS based widgets).
Enhanced english message for bulk button when no selection is made.
Fixed typo in modal remote ID ajaxCrudModal (kept it backwards compatible).
Fixed typo 'defauls' in Javascript parameters.
Javascripts have been re-minified with http://closure-compiler.appspot.com/ from Google.

@drsdre drsdre mentioned this pull request Nov 6, 2015
@johnitvn
Copy link
Owner

Can you resolved this pull request for me. I will merge when you resolved

@drsdre
Copy link
Contributor Author

drsdre commented Nov 13, 2015

Hi John, the pull request has been resolved. Also ModalRemote.min.js has been regenerated with the fix from merge request #38.

johnitvn added a commit that referenced this pull request Nov 15, 2015
Flexible forceReload and renderAjax
@johnitvn johnitvn merged commit db971b6 into johnitvn:master Nov 15, 2015
@johnitvn
Copy link
Owner

Thank you for your contribution

@drsdre drsdre deleted the dev-custom branch November 16, 2015 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants