mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-05-24 16:28:40 -04:00
Initialize table sorting if this didn't happen when the page was loaded
initially (#139)
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
<!-- end js template tags -->
|
||||
<?php else : ?>
|
||||
<!-- start minjs template tags -->
|
||||
<script type="text/javascript" src="dist/opensourcepos.min.js?rel=46b435ed1a" language="javascript"></script>
|
||||
<script type="text/javascript" src="dist/opensourcepos.min.js?rel=3806e1c0ff" language="javascript"></script>
|
||||
<!-- end minjs template tags -->
|
||||
<?php endif; ?>
|
||||
<script type="text/javascript">
|
||||
|
||||
4
dist/opensourcepos.js
vendored
4
dist/opensourcepos.js
vendored
@@ -18143,6 +18143,10 @@ function update_sortable_table()
|
||||
var sorting = $("#sortable_table")[0].config.sortList;
|
||||
$("#sortable_table").trigger("sorton",[sorting]);
|
||||
}
|
||||
else
|
||||
{
|
||||
window['init_table_sorting'] && init_table_sorting();
|
||||
}
|
||||
}
|
||||
|
||||
function get_table_row(id) {
|
||||
|
||||
8
dist/opensourcepos.min.js
vendored
8
dist/opensourcepos.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -304,6 +304,10 @@ function update_sortable_table()
|
||||
var sorting = $("#sortable_table")[0].config.sortList;
|
||||
$("#sortable_table").trigger("sorton",[sorting]);
|
||||
}
|
||||
else
|
||||
{
|
||||
window['init_table_sorting'] && init_table_sorting();
|
||||
}
|
||||
}
|
||||
|
||||
function get_table_row(id) {
|
||||
|
||||
Reference in New Issue
Block a user