GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Merge pull request #3182 from pasztorpisti/fix-cookie-extension-onpag… · fengwit/bootstrap-table@aa2ecf6

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src/extensions/cookie
    • bootstrap-table-cookie.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/extensions/cookie/bootstrap-table-cookie.js‎

Copy file name to clipboardExpand all lines: src/extensions/cookie/bootstrap-table-cookie.js
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,31 +360,37 @@
360360
BootstrapTable.prototype.onPageNumber = function () {
361361
_onPageNumber.apply(this, Array.prototype.slice.apply(arguments));
362362
setCookie(this, cookieIds.pageNumber, this.options.pageNumber);
363+
return false;
363364
};
364365

365366
BootstrapTable.prototype.onPageListChange = function () {
366367
_onPageListChange.apply(this, Array.prototype.slice.apply(arguments));
367368
setCookie(this, cookieIds.pageList, this.options.pageSize);
369+
return false;
368370
};
369371

370372
BootstrapTable.prototype.onPageFirst = function () {
371373
_onPageFirst.apply(this, Array.prototype.slice.apply(arguments));
372374
setCookie(this, cookieIds.pageNumber, this.options.pageNumber);
375+
return false;
373376
};
374377

375378
BootstrapTable.prototype.onPagePre = function () {
376379
_onPagePre.apply(this, Array.prototype.slice.apply(arguments));
377380
setCookie(this, cookieIds.pageNumber, this.options.pageNumber);
381+
return false;
378382
};
379383

380384
BootstrapTable.prototype.onPageNext = function () {
381385
_onPageNext.apply(this, Array.prototype.slice.apply(arguments));
382386
setCookie(this, cookieIds.pageNumber, this.options.pageNumber);
387+
return false;
383388
};
384389

385390
BootstrapTable.prototype.onPageLast = function () {
386391
_onPageLast.apply(this, Array.prototype.slice.apply(arguments));
387392
setCookie(this, cookieIds.pageNumber, this.options.pageNumber);
393+
return false;
388394
};
389395

390396
BootstrapTable.prototype.toggleColumn = function () {

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.