* [refac bug #65194] Add js for filelist wg.
This commit is contained in:
@@ -11,3 +11,7 @@
|
||||
#caseStepForm .step-item-id {color: var(--color-gray-500);}
|
||||
|
||||
.modal[id^='fileModal'] .modal-dialog {max-height: 100%;}
|
||||
|
||||
.files-list>li>a {display: inline; word-wrap: break-word; color: #313c52; line-height: 24px}
|
||||
.files-list .icon.icon-file-text {padding-left: 7px}
|
||||
.files-list .right-icon .btn {padding: 0 6px; height: 20px}
|
||||
|
||||
@@ -23,6 +23,17 @@ function loadResult()
|
||||
{
|
||||
loadCurrentPage({url: resultsLink, selector: '#casesResults', partial: true});
|
||||
window.waitDom('#casesResults .result-item', function(){ $('#casesResults .result-item').first().trigger('click');})
|
||||
$(document).off('mouseover', 'li.file').on('mouseover', 'li.file', function()
|
||||
{
|
||||
$(this).children('span.right-icon').removeClass("hidden");
|
||||
$(this).addClass('backgroundColor');
|
||||
});
|
||||
|
||||
$(document).off('mouseout', 'li.file').on('mouseout', 'li.file', function()
|
||||
{
|
||||
$(this).children('span.right-icon').addClass("hidden");
|
||||
$(this).removeClass('backgroundColor');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user