Unverified Commit 9ca11879 authored by Jerome Boucher's avatar Jerome Boucher
Browse files

feat/16380 : refactoring

parent 3eb35024
Pipeline #12489 failed with stages
in 43 seconds
......@@ -506,9 +506,14 @@
parameters.description = descriptionString;
var isEmptyOriginalDescriptionString = true; //should not add && uri encoded on first loop
if (descriptionString.length > 1) {
isEmptyOriginalDescriptionString = false; // should add && uri encoded on first loop
}
descriptionString = "";
$('#helperForm').find('input[type="text"].datePicker, input[type="text"].dateTimePicker').each(function() {
if (descriptionString.length > 1) {
if (descriptionString.length > 1 || !isEmptyOriginalDescriptionString) {
descriptionString += "%26%26";
}
......@@ -546,8 +551,6 @@
}
return stringifyHtmlParameters;
return parameters;
};
function convertDate(data) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment