forked from cheekujodhpur/ipho2015
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfbEnable.txt
26 lines (25 loc) · 886 Bytes
/
fbEnable.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
socket.on('fbEnable',function(q){
if(q=='tq1')
{
$("#fbHead").text("Feedback for Theory Question 1");
get_subparts('t1');
}
if(q=='tq2')
{
$("#fbHead").text("Feedback for Theory Question 2");
get_subparts('t2');
}
if(q=='tq3')
{
$("#fbHead").text("Feedback for Theory Question 3");
get_subparts('t3');
}
if(q=='ep1')
{
$("#fbHead").text("Feedback for Practical Question 1");
get_subparts('e');
}
fb_current = q;
request_fb(fb_current);
$("#fbb").show();
});