Subversion Repositories SmartDukaan

Rev

Rev 11330 | Rev 11574 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11330 Rev 11546
Line 29... Line 29...
29
				for(var x=0;x < dropdownlistbox.length -1 ; x++)
29
				for(var x=0;x < dropdownlistbox.length -1 ; x++)
30
				{
30
				{
31
				   if(data.operatorName == dropdownlistbox.options[x].text)
31
				   if(data.operatorName == dropdownlistbox.options[x].text)
32
				   {
32
				   {
33
				       dropdownlistbox.selectedIndex = x;
33
				       dropdownlistbox.selectedIndex = x;
-
 
34
				       document.getElementById("mobile-operator").disabled = false;
34
				       var opids ='';
35
				       var opids ='';
35
				        for(var i=0;i<plan.length;i++){
36
				        for(var i=0;i<plan.length;i++){
36
							if(plan[i].operatorId == operatorId){
37
							if(plan[i].operatorId == operatorId){
37
								var planId = plan[i].operatorId;
38
								var planId = plan[i].operatorId;
38
								opids += '<option value='+plan[i].Name+'>'+plan[i].displayName+'</option>';
39
								opids += '<option value='+plan[i].Name+'>'+plan[i].displayName+'</option>';
Line 54... Line 55...
54
					}
55
					}
55
				}
56
				}
56
			}
57
			}
57
 
58
 
58
	    });
59
	    });
-
 
60
	}else if(number.length < 10){
-
 
61
		if(document.getElementById("mobile-operator").disabled != true){
-
 
62
			document.getElementById("mobile-operator").disabled = true;
-
 
63
		}
59
	}
64
	}
60
}
65
}
61
 
66
 
62
function changeOperator(e){
67
function changeOperator(e){
63
	
68