From 0a55bfe0fb30af576ece0b5bab4879284f624214 Mon Sep 17 00:00:00 2001
From: PavelBegunkov <asml.Silence@gmail.com>
Date: Sat, 27 Sep 2014 23:58:36 +0400
Subject: [PATCH] fix

---
 ~dev_rating/media/js/discipline/EditGroups.js | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/~dev_rating/media/js/discipline/EditGroups.js b/~dev_rating/media/js/discipline/EditGroups.js
index 3f88cb1a3..c5f7b2bd5 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;
+// }
 
 
 
-- 
GitLab