Initialize table sorting if this didn't happen when the page was loaded

initially (#139)
This commit is contained in:
jekkos
2015-09-14 08:26:41 +02:00
parent d6f052f082
commit c843c174ed
4 changed files with 13 additions and 5 deletions

View File

@@ -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">

View File

@@ -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) {

View File

File diff suppressed because one or more lines are too long

View File

@@ -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) {