From 3b1a672ca2d3490b46c482cabb26b17edfaf6df9 Mon Sep 17 00:00:00 2001 From: Pavel Loginov Date: Wed, 9 Oct 2019 09:49:18 +0300 Subject: [PATCH] v3.5.3 --- inc/add.js | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/inc/add.js b/inc/add.js index eccc87fb..e0a3f668 100644 --- a/inc/add.js +++ b/inc/add.js @@ -443,10 +443,6 @@ $( function() { source: "sql.py?getsavedserver="+$('#group').val()+'&token='+$('#token').val(), autoFocus: true, minLength: 1, - focus: function( event, ui ) { - $(this).val( ui.item.value ); - return false; - }, select: function( event, ui ) { $(this).append(ui.item.value + " "); $(this).next().focus(); @@ -673,15 +669,6 @@ $( function() { // }); // $( "#tabs" ).tabs( "option", "active", 1 ); // } ); - // $( "#add3" ).on( "click", function() { - // $('.menu li ul li').each(function () { - // $(this).find('a').css('padding-left', '20px') - // $(this).find('a').css('border-left', '0px solid #5D9CEB'); - // $(this).children("#add3").css('padding-left', '30px'); - // $(this).children("#add3").css('border-left', '4px solid #5D9CEB'); - // }); - // $( "#tabs" ).tabs( "option", "active", 2 ); - // } ); $( "#add4" ).on( "click", function() { $('.menu li ul li').each(function () { $(this).find('a').css('padding-left', '20px') @@ -700,6 +687,15 @@ $( function() { }); $( "#tabs" ).tabs( "option", "active", 5 ); } ); + $( "#add6" ).on( "click", function() { + $('.menu li ul li').each(function () { + $(this).find('a').css('padding-left', '20px') + $(this).find('a').css('border-left', '0px solid #5D9CEB'); + $(this).children("#add6").css('padding-left', '30px'); + $(this).children("#add6").css('border-left', '4px solid #5D9CEB'); + }); + $( "#tabs" ).tabs( "option", "active", 6 ); + } ); } $( "#path-cert-listen" ).autocomplete({