mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
feature #3748: Fix event triggering after pressing enter in a search box
This commit is contained in:
parent
f5b9674f29
commit
f76b5fee81
@ -1,6 +1,6 @@
|
||||
<dl class="tabs vertical" id="{{linksContainerId}}" data-tab>
|
||||
<dt class="text-center">
|
||||
<button href="#" class="button tiny radius" id="tf_btn_nics">
|
||||
<button href="#" type="button" class="button tiny radius" id="tf_btn_nics">
|
||||
<span class="fa fa-plus"></span>
|
||||
{{tr "Add another interface"}}
|
||||
</button>
|
||||
@ -17,4 +17,4 @@
|
||||
</label>
|
||||
<input type="text" id="DEFAULT_MODEL" name="DEFAULT_MODEL"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,9 +1,9 @@
|
||||
<dl class="tabs vertical" id="{{linksContainerId}}" data-tab>
|
||||
<dt class="text-center">
|
||||
<button href="#" class="button tiny radius" id="tf_btn_disks">
|
||||
<button href="" type="button" class="button tiny radius" id="tf_btn_disks">
|
||||
<span class="fa fa-plus"></span>
|
||||
{{tr "Add another disk"}}
|
||||
</button>
|
||||
</dt>
|
||||
</dl>
|
||||
<div class="tabs-content vertical" id="{{contentsContainerId}}"></div>
|
||||
<div class="tabs-content vertical" id="{{contentsContainerId}}"></div>
|
||||
|
@ -159,6 +159,7 @@ define(function(require) {
|
||||
var that = this;
|
||||
$('#' + this.dataTableId + 'Search').keyup(function() {
|
||||
that.dataTable.fnFilter($(this).val());
|
||||
return false;
|
||||
})
|
||||
|
||||
this.dataTable.on('draw', function() {
|
||||
@ -570,6 +571,7 @@ define(function(require) {
|
||||
|
||||
$('#' + that.dataTableId + '_search', section).keyup(function() {
|
||||
that.dataTable.fnFilter($(this).val());
|
||||
return false;
|
||||
})
|
||||
|
||||
if (that.selectOptions.read_only) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user