Disable selecting text on Database schema
This commit is contained in:
parent
2ca26386c2
commit
f539836fd5
|
@ -49,7 +49,7 @@ foreach (table_status() as $table_status) {
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<div id="schema" style="height: <?php echo $top; ?>em;">
|
<div id="schema" style="height: <?php echo $top; ?>em;" onselectstart="return false;">
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
tablePos = {<?php echo implode(",", $table_pos_js) . "\n"; ?>};
|
tablePos = {<?php echo implode(",", $table_pos_js) . "\n"; ?>};
|
||||||
em = document.getElementById('schema').offsetHeight / <?php echo $top; ?>;
|
em = document.getElementById('schema').offsetHeight / <?php echo $top; ?>;
|
||||||
|
|
|
@ -52,7 +52,7 @@ input[type=image] { vertical-align: middle; }
|
||||||
#loader { display: none; position: fixed; top: 2px; right: 2px; z-index: 1; }
|
#loader { display: none; position: fixed; top: 2px; right: 2px; z-index: 1; }
|
||||||
#h1 { color: #777; text-decoration: none; font-style: italic; }
|
#h1 { color: #777; text-decoration: none; font-style: italic; }
|
||||||
#version { font-size: 67%; color: red; }
|
#version { font-size: 67%; color: red; }
|
||||||
#schema { margin-left: 60px; position: relative; }
|
#schema { margin-left: 60px; position: relative; -moz-user-select: none; -webkit-user-select: none; }
|
||||||
#schema .table { border: 1px solid silver; padding: 0 2px; cursor: move; position: absolute; }
|
#schema .table { border: 1px solid silver; padding: 0 2px; cursor: move; position: absolute; }
|
||||||
#schema .references { position: absolute; }
|
#schema .references { position: absolute; }
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,7 @@ Esc to cancel AJAX request
|
||||||
Move AJAX loading indicator to the right
|
Move AJAX loading indicator to the right
|
||||||
Don't quote bit type in export
|
Don't quote bit type in export
|
||||||
Don't check row while selecting text
|
Don't check row while selecting text
|
||||||
|
Disable selecting text on Database schema
|
||||||
Ability to disable export (customization)
|
Ability to disable export (customization)
|
||||||
Extensible list of databases (customization)
|
Extensible list of databases (customization)
|
||||||
MySQL: set autocommit after connect
|
MySQL: set autocommit after connect
|
||||||
|
|
Loading…
Reference in a new issue