-
Notifications
You must be signed in to change notification settings - Fork 106
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
Fix/issue254 255 modal #257
Conversation
add loader to modal create via Modal.php allow url argument to be pass in Modal::show([‘color’=>’blue’]) pass modal data via jQuery $.data method instead of html data attribute. simply data management between modal create via jsModal or Modal.php
Codecov Report
@@ Coverage Diff @@
## develop #257 +/- ##
=============================================
+ Coverage 72.12% 72.13% +<.01%
- Complexity 1111 1113 +2
=============================================
Files 62 62
Lines 2730 2738 +8
=============================================
+ Hits 1969 1975 +6
- Misses 761 763 +2
Continue to review full report at Codecov.
|
Is this ready for review? |
…ssue254-255-modal
Change how url query are set using Modal::Show(); Now return with js chain instead of waiting for modal to render. This way will work when loading a modal from other virtual page like form on success.
Change the way how arguments are save to modal when using Modal::show($args). Also remove view tester on second modal since tester will reset Message color on it's last callback because $_Get['color'] is not available when view tester reload. |
works perfectly now. Will merge now. |
Fix issue 254
Enhancement issue 255
Apply some refactoring on passing data to modal
Note: Atk4JS need rebuilding.