fix: Align exams creator_type enum to ai_adaptive and add fault-tolerant checkpoint generation

This commit is contained in:
Hamza-Ayed
2026-08-28 02:54:14 +03:00
parent e788379c68
commit 01d905f4da
2 changed files with 51 additions and 46 deletions
+2 -1
View File
@@ -1287,7 +1287,8 @@ class TeacherPortal
alert('❌ ' + (data.message || 'فشل رفع الفيديو'));
}
} catch (err) {
alert('❌ خطأ في معالجة استجابة السيرفر');
console.error('Response:', xhr.responseText);
alert('❌ خطأ في معالجة استجابة السيرفر:\n' + (xhr.responseText ? xhr.responseText.substring(0, 250) : 'استجابة فارغة'));
}
};