diff --git a/~dev_rating/media/js/discipline/EditGroups.js b/~dev_rating/media/js/discipline/EditGroups.js index 3f88cb1a350bddfe9e406a3ea5fa7b9d5d3d43eb..c5f7b2bd5381567f77528dd811e743eccb721ff4 100644 --- a/~dev_rating/media/js/discipline/EditGroups.js +++ b/~dev_rating/media/js/discipline/EditGroups.js @@ -6,12 +6,12 @@ var jGroupSelector = $('select.SelectStudyGroup'); var jAppPrototype = $($.parseHTML ( '<div class="AttachedGroup">\ <div class="StudyGroupInfo"></div>\ - <div class="UnbindGroup">Отсоединить группу</div>\ + <button class="UnbindGroup">Отсоединить группу</button>\ </div>' )); -var jListPrototype = $($.parseHTML ( '<option></option>' )); +// var jListPrototype = $($.parseHTML ( '<option></option>' )); @@ -22,12 +22,12 @@ function getAppendedElement(id, StudyGroupName){ return cell; } -function getListElement(id, StudyGroupName){ - var cell = jListPrototype.clone(); - cell.attr('value', id); - cell.html(StudyGroupName); - return cell; -} +// function getListElement(id, StudyGroupName){ +// var cell = jListPrototype.clone(); +// cell.attr('value', id); +// cell.html(StudyGroupName); +// return cell; +// }