oqs back turbolink control
This commit is contained in:
@@ -25,10 +25,6 @@
|
|||||||
//= require custom.js
|
//= require custom.js
|
||||||
|
|
||||||
$(document).on('turbolinks:load', function() {
|
$(document).on('turbolinks:load', function() {
|
||||||
$('#back').on('click', function () {
|
|
||||||
window.location.href = '/oqs/';
|
|
||||||
});
|
|
||||||
|
|
||||||
$(".nav-completed").on("click", function(){
|
$(".nav-completed").on("click", function(){
|
||||||
$("#completed").removeClass('hide')
|
$("#completed").removeClass('hide')
|
||||||
$(".oqs_append").addClass('hide')
|
$(".oqs_append").addClass('hide')
|
||||||
|
|||||||
@@ -115,8 +115,9 @@ $(document).ready(function(){
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#back').on('click', function () {
|
$('#back').on('click', function () {
|
||||||
window.location.href = '/oqs/';
|
window.location.href = '/oqs';
|
||||||
})
|
})
|
||||||
|
|
||||||
// number key pad
|
// number key pad
|
||||||
|
|||||||
@@ -177,3 +177,11 @@
|
|||||||
<!-- <button type="button" class="" id="print_order_summary">Print <br/>Order<br/>Summary</button> -->
|
<!-- <button type="button" class="" id="print_order_summary">Print <br/>Order<br/>Summary</button> -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
$(document).on('turbolinks:load', function() {
|
||||||
|
$('#back').on('click', function () {
|
||||||
|
window.location.href = '/dashboard';
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user