Skip to content
Snippets Groups Projects
Commit 0a55bfe0 authored by PavelBegunkov's avatar PavelBegunkov
Browse files

fix

parent 7ae51886
Branches
Tags
No related merge requests found
...@@ -6,12 +6,12 @@ var jGroupSelector = $('select.SelectStudyGroup'); ...@@ -6,12 +6,12 @@ var jGroupSelector = $('select.SelectStudyGroup');
var jAppPrototype = $($.parseHTML ( '<div class="AttachedGroup">\ var jAppPrototype = $($.parseHTML ( '<div class="AttachedGroup">\
<div class="StudyGroupInfo"></div>\ <div class="StudyGroupInfo"></div>\
<div class="UnbindGroup">Отсоединить группу</div>\ <button class="UnbindGroup">Отсоединить группу</button>\
</div>' </div>'
)); ));
var jListPrototype = $($.parseHTML ( '<option></option>' )); // var jListPrototype = $($.parseHTML ( '<option></option>' ));
...@@ -22,12 +22,12 @@ function getAppendedElement(id, StudyGroupName){ ...@@ -22,12 +22,12 @@ function getAppendedElement(id, StudyGroupName){
return cell; return cell;
} }
function getListElement(id, StudyGroupName){ // function getListElement(id, StudyGroupName){
var cell = jListPrototype.clone(); // var cell = jListPrototype.clone();
cell.attr('value', id); // cell.attr('value', id);
cell.html(StudyGroupName); // cell.html(StudyGroupName);
return cell; // return cell;
} // }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment