mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-10-24 17:18:44 -04:00
Initialize table sorting if this didn't happen when the page was loaded
initially (#139)
This commit is contained in:
1 parent
d6f052f082
commit
c843c174ed
4 files changed
+13
-5
No files matched your search
@@ -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">
|
||||
|
||||
Vendored
+4
@@ -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) {
|
||||
|
||||
Vendored
+4
-4
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