-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
43299 settings pages property list loading time (#712)
* 43299 settings pages property list loading time * 43299 update unit test * 43299 update unit test * 43299 update css * 43299 fix unit test * 43299 delete chosen script * 43299 refactor code * 43299 update unit test * 43299 update CSS icon remove * 43299 update CSS * Refactoring #3999579 --------- Co-authored-by: Frederic Alpers <88546396+fredericalpers@users.noreply.github.com> Co-authored-by: dai.trinh <dai.trinh@eastgate-software.com> Co-authored-by: andernath <chibineko@gmail.com>
- Loading branch information
1 parent
5d8cb9e
commit 4cbf33a
Showing
44 changed files
with
257 additions
and
13,310 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,20 @@ | ||
onOffice = onOffice || {}; | ||
onOffice.custom_select2_translation = onOffice.custom_select2_translation || []; | ||
jQuery(document).ready(function ($) { | ||
const $multiSelectAdminSorting = $('#viewrecordssorting .oo-custom-select2.oo-custom-select2--multiple'); | ||
const $singleSelectAdminSorting = $("#viewrecordssorting .oo-custom-select2.oo-custom-select2--single"); | ||
|
||
$('.custom-multiple-select, .custom-single-select').select2({ | ||
width: '100%' | ||
}); | ||
|
||
$multiSelectAdminSorting.select2({ | ||
placeholder: custom_select2_translation.multipleSelectOptions, | ||
width: '50%' | ||
}); | ||
|
||
$singleSelectAdminSorting.select2({ | ||
placeholder: custom_select2_translation.singleSelectOption, | ||
width: '50%' | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.