Skip to content
Snippets Groups Projects
Commit 0754db9b authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

Merge branch 'f-fix-paging2' into 'f-boot-tour'

fix paging

See merge request !30
parents 2bf70978 e890ec3e
No related branches found
No related tags found
3 merge requests!36merge f-boot-tour to dev,!31remove xs,!30fix paging
Pipeline #8154 passed with warnings
......@@ -36,6 +36,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
* #214 - Paging panel is hidden.
* #156 - Edit mode for Safari 11
* #160 - Entity preview for Safari 11
* Several minor cosmetic flaws
......
......@@ -1287,7 +1287,10 @@ var paging = new function () {
}
this.init = function () {
paging.initPaging(window.location.href, document.body.getAttribute("data-response-count"));
var response_count = document.body.getAttribute("data-response-count");
if (parseInt(response_count) >= 0) {
paging.initPaging(window.location.href, response_count);
}
}
};
......@@ -1867,18 +1870,12 @@ this.user_management = function ($, connection, createWaitingNotification, creat
};
}($, connection, createWaitingNotification, createErrorNotification);
/**
* When the page is scrolled down 100 pixels, the scroll-back button appears.
*
* @return FIXME
*/
/**
* Every initial function calling is done here.
*
* @return TODO
* Initialize all the submodules.
*/
function initOnDocumentReady() {
paging.init();
hintMessages.init();
// init query form
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment