1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-08 15:47:00 +02:00

Hide index column options by default

This commit is contained in:
Jakub Vrana
2025-02-22 09:24:51 +01:00
parent e744fecd98
commit 8602304d86
46 changed files with 68 additions and 47 deletions

View File

@@ -500,6 +500,16 @@ function columnShow(checked, column) {
}
}
/** Show or hide index column options
* @param boolean
*/
function indexOptionsShow(checked) {
var options = qsa('.idxopts');
for (var i=0; i < options.length; i++) {
alterClass(options[i], 'hidden', !checked);
}
}
/** Display partition options
* @this HTMLSelectElement
*/