Bläddra i källkod

Style file inputs (app wide)

Vijayakrishnan 3 år sedan
förälder
incheckning
cc434e5e3c
1 ändrade filer med 3 tillägg och 0 borttagningar
  1. 3 0
      public/js/stag-popup.js

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

@@ -12,6 +12,7 @@ function showStagPopup(_key, _noAutoFocus) {
     stagPopup.addClass('show');
     stagPopup.find('[moe][initialized]').removeAttr('initialized');
     initMoes();
+    initFileInputs();
     if(!_noAutoFocus) {
         window.setTimeout(function() {
             stagPopup.find('input[type="text"]:not([readonly]):visible,select:visible').first().focus();
@@ -139,6 +140,7 @@ function openDynamicStagPopup(_url, initer, title, updateParent, style = '', rep
         runMCInitializer('pro-suggest'); // not the place for this! Move to better place.
         initMoes();
         hideMask();
+        initFileInputs();
     }).fail(() => {
         toastr.error('Unable to open ' + _url);
         hideMask();
@@ -168,6 +170,7 @@ function refreshDynamicStagPopup(_url = false) {
             runMCInitializer('pro-suggest');
             initMoes();
             hideMask();
+            initFileInputs();
         });
     }
     return false;