XMTT 7 lat temu
rodzic
commit
d3a2b2e39b
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      js/model/sys/professor/new.js

+ 1 - 1
js/model/sys/professor/new.js

12
                var saveBtn = root.find(".opt-save"),
12
                var saveBtn = root.find(".opt-save"),
13
                    gotoBtn = root.find(".opt-goto"),
13
                    gotoBtn = root.find(".opt-goto"),
14
                    save = function (boolean) {
14
                    save = function (boolean) {
15
                        form.val({cuserId: id, professorState: 2, authentication: 1});
15
                        form.val({cuserId: id, professorState: 2, authentication: 1,authType:1});
16
                        if (form.val().orgType == null) {
16
                        if (form.val().orgType == null) {
17
                            form.val({orgType: 1});
17
                            form.val({orgType: 1});
18
                        }
18
                        }