mirror of https://github.com/OCA/web.git
15 lines
368 B
JavaScript
15 lines
368 B
JavaScript
odoo.define("web_set_single_page_hidden.Pager", function(require) {
|
|
"use strict";
|
|
|
|
var Pager = require("web.Pager");
|
|
|
|
Pager.include({
|
|
_setSinglePageHidden: function(value) {
|
|
if (!_.isUndefined(this.options)) {
|
|
this.options.single_page_hidden = value;
|
|
this._render();
|
|
}
|
|
},
|
|
});
|
|
});
|