1.9.4 Querystring support for required parameters

This commit is contained in:
Trevor Squillario 2012-04-03 11:26:03 -04:00
parent c3d7435c43
commit a0df9b6197
3 changed files with 39 additions and 2 deletions

View file

@ -1,7 +1,7 @@
$(document).ready(function () {
// Tabs
$(".tabcontent").hide(); //Hide all content
if ($.cookie('username') == null) {
if (!$.cookie('username') && !$.cookie('password') && !$.cookie('Server')) {
$('ul.tabs li a').each(function () {
if ($(this).attr("href") == '#tabPreferences') {
$(this).addClass("active"); //Add "active" class to selected tab