##// END OF EJS Templates
make sure we hide the spans
marcink -
r3784:62fb395a beta
parent child Browse files
Show More
@@ -2206,11 +2206,9 b' var MultiSelectWidget = function(selecte'
2206 }
2206 }
2207 }
2207 }
2208
2208
2209
2209 // custom paginator
2210
2210 var YUI_paginator = function(links_per_page, containers){
2211
2211
2212 var YUI_paginator = function(links_per_page, containers){
2213 // my custom paginator
2214 (function () {
2212 (function () {
2215
2213
2216 var Paginator = YAHOO.widget.Paginator,
2214 var Paginator = YAHOO.widget.Paginator,
@@ -2276,7 +2274,8 b' var YUI_paginator = function(links_per_p'
2276 title = p.get('firstPageLinkTitle');
2274 title = p.get('firstPageLinkTitle');
2277
2275
2278 this.link = document.createElement('a');
2276 this.link = document.createElement('a');
2279 this.span = document.createElement();
2277 this.span = document.createElement('span');
2278 YUD.setStyle(this.span, 'display', 'none');
2280
2279
2281 var _pos = this.getPos(p.getCurrentPage(), p.getTotalPages(), 5);
2280 var _pos = this.getPos(p.getCurrentPage(), p.getTotalPages(), 5);
2282 this.leftmost_page = _pos[0];
2281 this.leftmost_page = _pos[0];
@@ -2403,7 +2402,9 b' var YUI_paginator = function(links_per_p'
2403 this.rightmost_page = _pos[2];
2402 this.rightmost_page = _pos[2];
2404
2403
2405 this.link = document.createElement('a');
2404 this.link = document.createElement('a');
2406 this.span = document.createElement();
2405 this.span = document.createElement('span');
2406 YUD.setStyle(this.span, 'display', 'none');
2407
2407 this.na = this.span.cloneNode(false);
2408 this.na = this.span.cloneNode(false);
2408
2409
2409 setId(this.link, id_base + '-last-link');
2410 setId(this.link, id_base + '-last-link');
General Comments 0
You need to be logged in to leave comments. Login now