__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
// global var that holds: 0- if ctrl key is not pressed 1- if ctrl key is pressed
var ctrlKeyHistory = 0;
/**
* Allows moving around inputs/select by Ctrl+arrows
*
* @param {object} event data
*/
function onKeyDownArrowsHandler (event) {
var e = event || window.event;
var o = (e.srcElement || e.target);
if (!o) {
return;
}
if (o.tagName !== 'TEXTAREA' && o.tagName !== 'INPUT' && o.tagName !== 'SELECT') {
return;
}
if ((e.which !== 17) && (e.which !== 37) && (e.which !== 38) && (e.which !== 39) && (e.which !== 40)) {
return;
}
if (!o.id) {
return;
}
if (e.type === 'keyup') {
if (e.which === 17) {
ctrlKeyHistory = 0;
}
return;
} else if (e.type === 'keydown') {
if (e.which === 17) {
ctrlKeyHistory = 1;
}
}
if (ctrlKeyHistory !== 1) {
return;
}
e.preventDefault();
var pos = o.id.split('_');
if (pos[0] !== 'field' || typeof pos[2] === 'undefined') {
return;
}
var x = pos[2];
var y = pos[1];
switch (e.keyCode) {
case 38:
// up
y--;
break;
case 40:
// down
y++;
break;
case 37:
// left
x--;
break;
case 39:
// right
x++;
break;
default:
return;
}
var id = 'field_' + y + '_' + x;
var nO = document.getElementById(id);
if (! nO) {
id = 'field_' + y + '_' + x + '_0';
nO = document.getElementById(id);
}
// skip non existent fields
if (! nO) {
return;
}
nO.focus();
if (nO.tagName !== 'SELECT') {
nO.select();
}
e.returnValue = false;
}
AJAX.registerTeardown('keyhandler.js', function () {
$(document).off('keydown keyup', '#table_columns');
$(document).off('keydown keyup', 'table.insertRowTable');
});
AJAX.registerOnload('keyhandler.js', function () {
$(document).on('keydown keyup', '#table_columns', function (event) {
onKeyDownArrowsHandler(event.originalEvent);
});
$(document).on('keydown keyup', 'table.insertRowTable', function (event) {
onKeyDownArrowsHandler(event.originalEvent);
});
});
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| codemirror | Folder | 0755 |
|
|
| database | Folder | 0755 |
|
|
| designer | Folder | 0755 |
|
|
| jqplot | Folder | 0755 |
|
|
| server | Folder | 0755 |
|
|
| setup | Folder | 0755 |
|
|
| table | Folder | 0755 |
|
|
| transformations | Folder | 0755 |
|
|
| ajax.js | File | 33.96 KB | 0644 |
|
| chart.js | File | 18.29 KB | 0644 |
|
| common.js | File | 5.14 KB | 0644 |
|
| config.js | File | 25.6 KB | 0644 |
|
| console.js | File | 56.88 KB | 0644 |
|
| cross_framing_protection.js | File | 423 B | 0644 |
|
| doclinks.js | File | 18.54 KB | 0644 |
|
| drag_drop_import.js | File | 14.28 KB | 0644 |
|
| error_report.js | File | 10.34 KB | 0644 |
|
| export.js | File | 34.37 KB | 0644 |
|
| export_output.js | File | 402 B | 0644 |
|
| functions.js | File | 162.86 KB | 0644 |
|
| gis_data_editor.js | File | 14.37 KB | 0644 |
|
| home.js | File | 5.96 KB | 0644 |
|
| import.js | File | 6.02 KB | 0644 |
|
| indexes.js | File | 30.5 KB | 0644 |
|
| jquery.sortable-table.js | File | 11.02 KB | 0644 |
|
| keyhandler.js | File | 2.22 KB | 0644 |
|
| makegrid.js | File | 97.52 KB | 0644 |
|
| menu_resizer.js | File | 6.43 KB | 0644 |
|
| multi_column_sort.js | File | 1.34 KB | 0644 |
|
| name-conflict-fixes.js | File | 44 B | 0644 |
|
| navigation.js | File | 58.82 KB | 0644 |
|
| normalization.js | File | 28.83 KB | 0644 |
|
| ol.mjs | File | 1.03 KB | 0644 |
|
| page_settings.js | File | 2.01 KB | 0644 |
|
| replication.js | File | 3.71 KB | 0644 |
|
| shortcuts_handler.js | File | 3.72 KB | 0644 |
|
| sql.js | File | 39.28 KB | 0644 |
|
| u2f.js | File | 3.39 KB | 0644 |
|
| webauthn.js | File | 4.34 KB | 0644 |
|