N°3023 - Portal: Fix filter brick input not working in IE11

This commit is contained in:
acognet
2020-05-19 10:17:27 +02:00
parent 7e69256cb4
commit 8c86908652
3 changed files with 10 additions and 14 deletions

View File

@@ -1014,6 +1014,9 @@ table .group-actions {
/****************/
/* Filter brick */
/****************/
.tile.tile-filter-brick .tile_decoration .icon {
color: #da7014;
}
.tile.tile-filter-brick .tile_filterbox .form-group:first-child {
width: 100%;
}

View File

@@ -1077,6 +1077,10 @@ table .group-actions .item-action-wrapper .panel-body > p:last-child{
/****************/
/* Filter brick */
/****************/
.tile.tile-filter-brick .tile_decoration .icon {
color: $link-color;
}
.tile.tile-filter-brick .tile_filterbox .form-group:first-child{
width: 100%;
}

View File

@@ -9,7 +9,7 @@
<div class="col-xs-12 col-sm-{{ brick.GetWidth }}">
{% block pTileWrapper %}
<a href="#" class="tile tile-filter-brick" id="brick-{{ brick.GetId }}" data-brick-id="{{ brick.GetId }}">
<div class="tile tile-filter-brick" id="brick-{{ brick.GetId }}" data-brick-id="{{ brick.GetId }}">
<div class="tile_decoration">
<span class="icon {{ brick.GetDecorationClassHome }}"></span>
@@ -32,17 +32,6 @@
</form>
</div>
</div>
</a>
</div>
{% endblock %}
</div>
<script type="text/javascript">
$(document).ready(function(){
// Preventing click on tile to scroll up
$('#brick-{{ brick.GetId }}').on('click', function(oEvent){
if(oEvent.target.type !== 'submit'){
oEvent.preventDefault();
}
});
});
</script>
</div>