From c588dec0d1ba90896c7cb93d94418bf969f0a514 Mon Sep 17 00:00:00 2001 From: xamgore <xamgore@ya.ru> Date: Tue, 10 Mar 2015 00:46:29 +0300 Subject: [PATCH] Fixed a bug with the select group menu --- ~dev_rating/media/js/admin/students/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/~dev_rating/media/js/admin/students/index.js b/~dev_rating/media/js/admin/students/index.js index 93bdec922..8f47a4530 100644 --- a/~dev_rating/media/js/admin/students/index.js +++ b/~dev_rating/media/js/admin/students/index.js @@ -48,6 +48,7 @@ $(function() $('#gradeSelect').change(function(){ getStudentsList(); $('#studyGroupSelect').attr('disabled', 'disabled'); + $("#groupSelect").empty(); $("#studyGroupSelect").html('<option value="0">--- Учебная группа ---</option>'); if (($('#gradeSelect option:selected').val()!= '0')) { -- GitLab