|
|
|
|
203
|
"success": function(data) {
|
203
|
"success": function(data) {
|
204
|
console.log(data)
|
204
|
console.log(data)
|
205
|
if(data.success) {
|
205
|
if(data.success) {
|
206
|
if(data.data.authentication != undefined || data.data.authentication != null){
|
|
|
|
|
206
|
if(data.data.authentication || data.data.authentication===0){
|
207
|
location.href = "index.html";
|
207
|
location.href = "index.html";
|
208
|
}else{
|
208
|
}else{
|
209
|
location.href = "fillinfo-select.html?id=" + professorId;
|
209
|
location.href = "fillinfo-select.html?id=" + professorId;
|
|
|
|
|
294
|
},
|
294
|
},
|
295
|
async: false,
|
295
|
async: false,
|
296
|
success: function(data) {
|
296
|
success: function(data) {
|
297
|
console.log(data)
|
|
|
298
|
if(data.success) {
|
297
|
if(data.success) {
|
299
|
if(data.data != "null" && data.data != null) {
|
298
|
if(data.data != "null" && data.data != null) {
|
300
|
if(data.data.auth == true) {
|
299
|
if(data.data.auth == true) {
|