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');
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;
// }
......
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