Skip to content
Snippets Groups Projects
Commit 9ab2cbf2 authored by Andrew Rudenets's avatar Andrew Rudenets
Browse files

see issue #29

parent 0d5f7a41
Branches
Tags
No related merge requests found
......@@ -13,13 +13,11 @@ function View(_$root) {
// FIXME: No hardcode
var HEIGHT = 661;
console.log(jTransferList.height());
console.log(jRightList.height());
if (!reset)
jRightList.height(HEIGHT - jTransferList.height());
else {
jRightList.height(HEIGHT);
jTransferList.height(0);
jTransferList.height('auto');
}
};
......@@ -146,6 +144,7 @@ function View(_$root) {
var semesterID = +semester['Right'].val();
self.emit('transfer', groupID, semesterID);
if(groupID != -1)
self.adjustHeight(true);
};
......
......@@ -11,9 +11,9 @@
<div class="SelectContainer">
<div class="field">
<select class="SelectSemester defaultForm" id="semesters{{ Type }}">
{% for Semester in SemestersList %}
<option value="{{ Semester.ID }}">
{{ Rus[Semester.Season] }} {{ Semester.Year }}
{% for i in SemestersList %}
<option value="{{ i.ID }}">
{{ i.Num }} семестр {{ i.Year }}/{{ i.Year + 1 }}
</option>
{% endfor %}
</select>
......
......@@ -2,7 +2,6 @@
{% block media %} {# head -> css, js #}
{{ HTML.style('static/css/sidepanel.css')|raw }}
{{ HTML.style('static/css/dean_office/dean.css')|raw }}
{{ HTML.style('static/css/common/tabs.css')|raw }}
<script>
{# todo: remove, http://jsfiddle.net/uojpa23a/1/ #}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment