summaryrefslogtreecommitdiffstats
path: root/client/lib
diff options
context:
space:
mode:
authorAngelo Gallarello <angelo.gallarell@gmail.com>2018-09-14 17:35:14 +0200
committerAngelo Gallarello <angelo.gallarell@gmail.com>2018-09-14 17:35:14 +0200
commit30a3daa6af179009ac17b40a71bf3f9e9b1d698a (patch)
tree16e2ecdc589aa67367f3d53a44c1eaba8ba1f637 /client/lib
parentfc73dc5bbcbbd203efc4f10ecb4bd1a66e0d9efb (diff)
downloadwekan-30a3daa6af179009ac17b40a71bf3f9e9b1d698a.tar.gz
wekan-30a3daa6af179009ac17b40a71bf3f9e9b1d698a.tar.bz2
wekan-30a3daa6af179009ac17b40a71bf3f9e9b1d698a.zip
Finished alpha rules
Diffstat (limited to 'client/lib')
-rw-r--r--client/lib/utils.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/lib/utils.js b/client/lib/utils.js
index 1b5ad1f3..e6dc7d85 100644
--- a/client/lib/utils.js
+++ b/client/lib/utils.js
@@ -152,9 +152,9 @@ Utils = {
for(let i = 0;i< triggerEls.length;i++){
const element = tempInstance.$(triggerEls[i]);
if(element.hasClass("trigger-text")){
- finalString += element.text();
+ finalString += element.text().toLowerCase();
}else if(element.find("select").length > 0){
- finalString += element.find("select option:selected").text();
+ finalString += element.find("select option:selected").text().toLowerCase();
}else if(element.find("input").length > 0){
finalString += element.find("input").val();
}
@@ -163,7 +163,7 @@ Utils = {
finalString += " ";
}
}
- return finalString.toLowerCase();
+ return finalString;
},
};