X7ROOT File Manager
Current Path:
/var/sentora/hostdata/konguhitek/public_html/ktgadmin/js
var
/
sentora
/
hostdata
/
konguhitek
/
public_html
/
ktgadmin
/
js
/
📁
..
📄
app.min.js
(7.78 KB)
📄
custom.js
(995 B)
📁
dataTable
📄
editor.js
(64.46 KB)
📁
examples
📄
jquery-1.12.4.js
(297.3 KB)
📄
jquery-ui.js
(526.78 KB)
📄
mixitup.min.js
(85.19 KB)
Editing: custom.js
'use strict'; (function ($) { var href = document.location.href; var lastPathSegment = href.substr(href.lastIndexOf('/') + 1); lastPathSegment=lastPathSegment.replace('#',''); $('a[href="' + lastPathSegment + '"]').parents('li').addClass('open'); $('form').on('focus', 'input[type=number]', function (e) { $(this).on('mousewheel.disableScroll', function (e) { e.preventDefault() }) }); jQuery.extend(jQuery.expr[':'], { focusable: function (el, index, selector) { return $(el).is('a, button, :input, [tabindex]'); } }); $(document).on('keypress', 'input,select', function (e) { if (e.which == 13) { e.preventDefault(); // Get all focusable elements on the page var $canfocus = $(':focusable'); var index = $canfocus.index(document.activeElement) + 1; if (index >= $canfocus.length) index = 0; $canfocus.eq(index).focus(); } }); setTimeout(function(){ $(".page-loader").hide(); },1500); })(jQuery);
Upload File
Create Folder