Browse Source

Re-init moes inside parent modal after update-parent

Vijayakrishnan 4 years ago
parent
commit
7a9af76d09
1 changed files with 2 additions and 0 deletions
  1. 2 0
      public/js/stag-popup.js

+ 2 - 0
public/js/stag-popup.js

@@ -88,6 +88,7 @@ function openDynamicStagPopup(url, initer, title, updateParent) {
         showStagPopup(url);
         if(initer) runMCInitializer(initer);
         runMCInitializer('pro-suggest');
+        initMoes();
         hideMask();
     });
 }
@@ -109,6 +110,7 @@ function refreshDynamicStagPopup() {
             popup.find('.stag-popup-content-inner').html(_data);
             if(initer) runMCInitializer(initer);
             runMCInitializer('pro-suggest');
+            initMoes();
             hideMask();
         });
     }