mirror of
https://github.com/vrana/adminer.git
synced 2025-08-26 07:44:37 +02:00
Use <script> instead of inline event handler for skipping original
This commit is contained in:
@@ -538,6 +538,17 @@ function functionChange() {
|
||||
helpClose();
|
||||
}
|
||||
|
||||
/** Skip 'original' when typing
|
||||
* @param number
|
||||
* @this HTMLTableCellElement
|
||||
*/
|
||||
function skipOriginal(first) {
|
||||
var fnSelect = this.previousSibling.firstChild;
|
||||
if (fnSelect.selectedIndex < first) {
|
||||
fnSelect.selectedIndex = first;
|
||||
}
|
||||
}
|
||||
|
||||
/** Add new field in schema-less edit
|
||||
* @this HTMLInputElement
|
||||
*/
|
||||
|
Reference in New Issue
Block a user