Skip to content

Commit 8e57484

Browse files
committed
BroadleafCommerce/QA#732 make all gridlisttype to use data-path, which they have
1 parent 4f20437 commit 8e57484

File tree

1 file changed

+1
-10
lines changed
  • admin/broadleaf-open-admin-platform/src/main/resources/open_admin_style/js/admin/components

1 file changed

+1
-10
lines changed

admin/broadleaf-open-admin-platform/src/main/resources/open_admin_style/js/admin/components/listGrid-paginate.js

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -677,16 +677,7 @@
677677

678678
// Fetch records if necessary
679679
$.doTimeout('fetch', fetchDebounce, function() {
680-
var url = null;
681-
if (singleGrid) {
682-
if ($tbody.closest('table').data('listgridtype') == 'inline'){
683-
url = $tbody.closest('table').data('path');
684-
}
685-
} else if (isAssetGrid) {
686-
url = $tbody.closest('table').data('currenturl');
687-
} else {
688-
url = $tbody.closest('table').data('path');
689-
}
680+
var url = $tbody.closest('table').data('path');
690681
BLCAdmin.listGrid.paginate.loadRecords($tbody, url);
691682
});
692683

0 commit comments

Comments
 (0)