mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-21 10:16:13 +02:00
cleanup
This commit is contained in:
parent
a92acc5edb
commit
15a74243a9
1 changed files with 2 additions and 2 deletions
|
@ -234,7 +234,7 @@ function openInNewTab(el, removeAttribute = false){
|
||||||
// and a "to" select list; initialization is based off of the presence of the
|
// and a "to" select list; initialization is based off of the presence of the
|
||||||
// "to" select list
|
// "to" select list
|
||||||
checkToListThenInitWidget('id_groups_to', 0);
|
checkToListThenInitWidget('id_groups_to', 0);
|
||||||
// checkToListThenInitWidget('id_user_permissions_to', 0);
|
checkToListThenInitWidget('id_user_permissions_to', 0);
|
||||||
})();
|
})();
|
||||||
|
|
||||||
// Function to check for the existence of the "to" select list element in the DOM, and if and when found,
|
// Function to check for the existence of the "to" select list element in the DOM, and if and when found,
|
||||||
|
@ -244,7 +244,7 @@ function checkToListThenInitWidget(toListId, attempts) {
|
||||||
attempts++;
|
attempts++;
|
||||||
|
|
||||||
if (attempts < 12) {
|
if (attempts < 12) {
|
||||||
if ((toList)) {
|
if ((toList && toList !== undefined)) {
|
||||||
// toList found, handle it
|
// toList found, handle it
|
||||||
// Then get fromList and handle it
|
// Then get fromList and handle it
|
||||||
initializeWidgetOnList(toList, ".selector-chosen");
|
initializeWidgetOnList(toList, ".selector-chosen");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue