We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 555bdf9 commit 970bfb9Copy full SHA for 970bfb9
gp-reload-form/gprf-reload-modal-magnific.js
@@ -0,0 +1,24 @@
1
+// Magnific Popup example using a link to trigger the modal
2
+// Replace ".open-popup" with your modal trigger
3
+// Replace "82" with the ID of your form
4
+$('.open-popup').magnificPopup({
5
+ type:'inline',
6
+ callbacks: {
7
+ close: function() {
8
+ var gwrf = window.gwrf_82;
9
+ if( typeof gwrf != 'undefined' ) {
10
+ gwrf.reloadForm();
11
+ }
12
13
14
+});
15
+
16
+// Example of how to bind to an already initialized Magnific Popup
17
18
19
+$('.open-popup').on('mfpClose', function() {
20
21
22
23
24
0 commit comments