Explorar el Código

Re-init moes inside parent modal after update-parent

Vijayakrishnan hace 4 años
padre
commit
7a9af76d09
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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();
         });
     }