CC-1724:Phone home statistics
Temp commit
This commit is contained in:
parent
6dc3d4d29a
commit
11b601308e
10 changed files with 446 additions and 6 deletions
|
@ -13,5 +13,39 @@ $(document).ready(function() {
|
|||
h3.addClass("close");
|
||||
}
|
||||
});
|
||||
|
||||
$('#Register').click(function(event){
|
||||
event.preventDefault();
|
||||
$.get("/Preference/register", {format:"json"}, function(json){
|
||||
var dialog = $(json.dialog);
|
||||
|
||||
dialog.dialog({
|
||||
autoOpen: false,
|
||||
title: 'Register Airtime',
|
||||
width: 400,
|
||||
height: 500,
|
||||
modal: true,
|
||||
buttons: {"Ok": function() {
|
||||
dialog.remove();
|
||||
}}
|
||||
});
|
||||
|
||||
dialog.dialog('open');
|
||||
|
||||
var form = $("form");
|
||||
|
||||
form.find("h3").click(function(){
|
||||
var h3 = $(this);
|
||||
h3.next().toggle();
|
||||
|
||||
if(h3.hasClass("close")) {
|
||||
h3.removeClass("close");
|
||||
}
|
||||
else {
|
||||
h3.addClass("close");
|
||||
}
|
||||
});
|
||||
})
|
||||
})
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue