Sfoglia il codice sorgente

Yemi - update for use in guest layout

Vijayakrishnan 3 anni fa
parent
commit
abbd095c75
2 ha cambiato i file con 4 aggiunte e 3 eliminazioni
  1. 2 1
      config/app.php
  2. 2 2
      js-dev/yemi.js

+ 2 - 1
config/app.php

@@ -65,7 +65,8 @@ return [
 
     'hrm2_url' => env('HRM2_URL'),
 
-    'asset_version' => 94,
+    'asset_version' => 95,
+
 
     'temp_dir' => env('TEMP_DIR'),
 

+ 2 - 2
js-dev/yemi.js

@@ -518,7 +518,7 @@ var initMoes = function() {
                             hideMoeFormMask();
                             hideMask();
                             runMCHook(hook);
-                        } else if(isDynamicStagPopupPresent()) {
+                        } else if(typeof isDynamicStagPopupPresent !== 'undefined' && isDynamicStagPopupPresent()) {
                             let targetUrl = false;
                             if (redir) {
                                 if (redir.indexOf('[data]') > -1) {
@@ -570,7 +570,7 @@ var initMoes = function() {
                             hideMoeFormMask();
                             hideMask();
                             runMCHook(hook);
-                        } else if(isDynamicStagPopupPresent()) {
+                        } else if(typeof isDynamicStagPopupPresent !== 'undefined' && isDynamicStagPopupPresent()) {
                             let targetUrl = false;
                             if (redir) {
                                 if (redir.indexOf('[data]') > -1) {