From 62ac356c4072f4f1eac7247c73065aa0930beb52 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Cristian=20Uma=C3=B1a?= <cumanacr@gmail.com>
Date: Wed, 15 Sep 2021 17:27:12 -0600
Subject: [PATCH] refactor: select2 disabled on Project module

---
 custom/lionix/js/jquery-plugins/select2-lionixcrm.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/custom/lionix/js/jquery-plugins/select2-lionixcrm.js b/custom/lionix/js/jquery-plugins/select2-lionixcrm.js
index bbe090823c..803fcf4346 100644
--- a/custom/lionix/js/jquery-plugins/select2-lionixcrm.js
+++ b/custom/lionix/js/jquery-plugins/select2-lionixcrm.js
@@ -34,7 +34,8 @@
                 /module=ModuleBuilder/.test(window.location.search) ||
                 /module=Studio/.test(window.location.search) ||
                 /module=Administration/.test(window.location.search) ||
-                /module%3DACLRoles/.test(window.location.href)
+                /module%3DACLRoles/.test(window.location.href) ||
+                /module=Project/.test(window.location.href)
             ) {
                 applySelect2 = false;
             }