The SQL-Query on SQL-Browser page can now send with "Ctrl + Return" in textarea.
Dieser Commit ist enthalten in:
Ursprung
6fe2ff2863
Commit
80bec15c69
1 geänderte Dateien mit 8 neuen und 1 gelöschten Zeilen
|
@ -1,3 +1,10 @@
|
||||||
|
<?php $this->jQuery()->onLoadCaptureStart(); ?>
|
||||||
|
$('#sqltextarea').bind('keyup', function(e){
|
||||||
|
if (e.which == 13 && e.ctrlKey) {
|
||||||
|
$('#execsql').trigger('click');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
<?php $this->jQuery()->onLoadCaptureEnd(); ?>
|
||||||
<div id="content">
|
<div id="content">
|
||||||
<h2><?php echo $this->lang->L_SQLBOX;?></h2>
|
<h2><?php echo $this->lang->L_SQLBOX;?></h2>
|
||||||
<?php echo $this->sqlHeadNavi(); ?>
|
<?php echo $this->sqlHeadNavi(); ?>
|
||||||
|
@ -12,7 +19,7 @@
|
||||||
</div>
|
</div>
|
||||||
<span style="float:left;">
|
<span style="float:left;">
|
||||||
<?php echo $this->lang->L_TABLE;?>: <select id="selectTable" class="text" onchange="setShowTableQuery();"><?php echo $this->tableSelectBox;?></select>
|
<?php echo $this->lang->L_TABLE;?>: <select id="selectTable" class="text" onchange="setShowTableQuery();"><?php echo $this->tableSelectBox;?></select>
|
||||||
<input class="Formbutton" type="submit" name="execsql" value="<?php echo $this->lang->L_SQL_EXEC;?>" />
|
<input class="Formbutton" type="submit" name="execsql" id="execsql" value="<?php echo $this->lang->L_SQL_EXEC;?>" />
|
||||||
<input class="Formbutton" type="button" value="<?php echo $this->lang->L_RESET;?>" onclick="$('#sqltextarea').val('');"/>
|
<input class="Formbutton" type="button" value="<?php echo $this->lang->L_RESET;?>" onclick="$('#sqltextarea').val('');"/>
|
||||||
</span>
|
</span>
|
||||||
<br class="clear" />
|
<br class="clear" />
|
||||||
|
|
Laden …
In neuem Issue referenzieren