1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-12 17:44:07 +02:00

Display table default values on wide screens

This commit is contained in:
Jakub Vrana
2012-09-22 12:24:16 -07:00
parent 6705fb2993
commit 8ec3e5fcda
4 changed files with 14 additions and 3 deletions

View File

@@ -355,6 +355,15 @@ function columnShow(checked, column) {
}
}
/** Hide column with default values in narrow window
*/
function editingHideDefaults() {
if (innerWidth < document.documentElement.scrollWidth) {
document.getElementById('defaults').checked = false;
columnShow(false, 5);
}
}
/** Display partition options
* @param HTMLSelectElement
*/