resources/views/regular_contract/create.blade.php を更新
All checks were successful
Deploy so-manager (auto) / deploy (push) Successful in 26s
All checks were successful
Deploy so-manager (auto) / deploy (push) Successful in 26s
This commit is contained in:
parent
3cad3b3d0f
commit
e80b0639ca
@ -54,7 +54,7 @@
|
||||
</div>
|
||||
</form>
|
||||
<div style="overflow-x: auto; width: 100%;">
|
||||
<table id="searchTable" class="table table-striped">
|
||||
<table id="searchTable" class="tablesorter table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="header">
|
||||
@ -202,4 +202,16 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
document.querySelectorAll('#searchTable th a, #searchTable .header a').forEach(function(el) {
|
||||
el.addEventListener('click', function(e) {
|
||||
// サーバーに遷移させる
|
||||
window.location.href = el.href;
|
||||
// 既存のJSによるイベントを止める
|
||||
e.stopImmediatePropagation();
|
||||
e.preventDefault();
|
||||
return false;
|
||||
}, true); // trueでキャプチャフェーズに
|
||||
});
|
||||
</script>
|
||||
@endsection
|
||||
Loading…
Reference in New Issue
Block a user