Commit 268c644a authored by Alexandre Goldstein's avatar Alexandre Goldstein
Browse files

fix/18418 update style on searchHelper

parent f8563ffa
Pipeline #13968 failed with stages
in 1 minute and 6 seconds
......@@ -102,7 +102,15 @@
}
.helper {
margin-bottom: 10px;
margin-top: 5px;
margin-top: 10px;
}
.row label {
white-space: nowrap;
max-width: 160px;
width: 100%;
overflow: hidden;
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
}
.padding-5 {
padding-left: 5px;
......@@ -366,13 +374,14 @@
var dropdownValues = [];
$.each(dropdownList, function(key, value)
{
dropdownValues.push('<option value="'+ key +'">'+ value +'</option>');
dropdownValues.push('<option value="'+ value +'">'+ value +'</option>');
});
var helperInput = $('<li/>').addClass("helperContent col-sm-6 padding-5").appendTo(row);
$('#helperDropdown')
.clone()
.attr('id', generateUniqIdentifier())
.attr('name', helperName)
.attr('type', 'select')
.removeClass('hide')
.addClass(' ')
.html(dropdownValues.join(''))
......@@ -530,6 +539,7 @@
.attr('title', 'supprimer')
.attr('type', 'button')
.addClass("btn btn-danger deleteHelper")
.attr('style','margin-right:7px')
.appendTo(buttonColumn);
var icon = $('<i/>')
......@@ -658,6 +668,7 @@
var value = $(this).val();
var name = $(this).attr('name');
var type = $(this).attr('type');
if (type == "" || type == null || type == undefined) {
type = $(this).data('type');
}
......
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