2.0.2 ForceFlash setting added
This commit is contained in:
parent
08a1eff8b4
commit
ae49d258fb
3 changed files with 28 additions and 2 deletions
|
@ -29,6 +29,11 @@
|
|||
} else {
|
||||
$('#Debug').attr('checked', false);
|
||||
}
|
||||
if ($.cookie('ForceFlash')) {
|
||||
$('#ForceFlash').attr('checked', true);
|
||||
} else {
|
||||
$('#ForceFlash').attr('checked', false);
|
||||
}
|
||||
|
||||
// Tabs
|
||||
$(".tabcontent").hide(); //Hide all content
|
||||
|
@ -568,8 +573,19 @@
|
|||
if ($('#Debug').is(':checked')) {
|
||||
$.cookie('Debug', '1', { expires: 365 });
|
||||
debug = true;
|
||||
} else {
|
||||
$.cookie('Debug', null);
|
||||
debug = false;
|
||||
}
|
||||
});
|
||||
$('#ForceFlash').live('click', function () {
|
||||
if ($('#ForceFlash').is(':checked')) {
|
||||
$.cookie('ForceFlash', '1', { expires: 365 });
|
||||
} else {
|
||||
$.cookie('ForceFlash', null);
|
||||
}
|
||||
location.reload(true);
|
||||
});
|
||||
$('input#Password').keydown(function (e) {
|
||||
var unicode = e.charCode ? e.charCode : e.keyCode;
|
||||
if (unicode == 13) {
|
||||
|
@ -613,4 +629,4 @@
|
|||
}
|
||||
}).disableSelection();
|
||||
|
||||
}); // End document.ready
|
||||
}); // End document.ready
|
Loading…
Add table
Add a link
Reference in a new issue