Handlers & buttons
This commit is contained in:
parent
27398030e4
commit
1bda7b8346
2 changed files with 10 additions and 1 deletions
|
@ -34,7 +34,8 @@ $(document).ready(function() {
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
|
||||||
$searchForm.find('button[data-action]').on('click', function(evt) {
|
$ctrlForm.on('submit', function() { return false; });
|
||||||
|
$ctrlForm.find('button[data-action]').on('click', function(evt) {
|
||||||
var action = $(this).data('action');
|
var action = $(this).data('action');
|
||||||
var $btn = $(this);
|
var $btn = $(this);
|
||||||
|
|
||||||
|
|
|
@ -28,6 +28,10 @@
|
||||||
<i class="fa fa-step-backward"></i>
|
<i class="fa fa-step-backward"></i>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
|
<button data-action="backward">
|
||||||
|
<i class="fa fa-backward"></i>
|
||||||
|
</button>
|
||||||
|
|
||||||
<button data-action="play">
|
<button data-action="play">
|
||||||
<i class="fa fa-play"></i>
|
<i class="fa fa-play"></i>
|
||||||
</button>
|
</button>
|
||||||
|
@ -40,6 +44,10 @@
|
||||||
<i class="fa fa-stop"></i>
|
<i class="fa fa-stop"></i>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
|
<button data-action="forward">
|
||||||
|
<i class="fa fa-forward"></i>
|
||||||
|
</button>
|
||||||
|
|
||||||
<button data-action="next">
|
<button data-action="next">
|
||||||
<i class="fa fa-step-forward"></i>
|
<i class="fa fa-step-forward"></i>
|
||||||
</button>
|
</button>
|
||||||
|
|
Loading…
Reference in a new issue