Changeset - 62fb395a459d
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 13 years ago 2013-04-22 16:40:24
marcin@python-works.com
make sure we hide the spans
1 file changed with 7 insertions and 6 deletions:
0 comments (0 inline, 0 general)
rhodecode/public/js/rhodecode.js
Show inline comments
 
@@ -2206,11 +2206,9 @@ var MultiSelectWidget = function(selecte
 
    }
 
}
 

	
 

	
 

	
 
// custom paginator
 
var YUI_paginator = function(links_per_page, containers){
 

	
 
var YUI_paginator = function(links_per_page, containers){
 
    // my custom paginator
 
    (function () {
 

	
 
        var Paginator = YAHOO.widget.Paginator,
 
@@ -2276,7 +2274,8 @@ var YUI_paginator = function(links_per_p
 
                    title  = p.get('firstPageLinkTitle');
 

	
 
                this.link     = document.createElement('a');
 
                this.span     = document.createElement();
 
                this.span     = document.createElement('span');
 
                YUD.setStyle(this.span, 'display', 'none');
 

	
 
                var _pos = this.getPos(p.getCurrentPage(), p.getTotalPages(), 5);
 
                this.leftmost_page = _pos[0];
 
@@ -2403,7 +2402,9 @@ var YUI_paginator = function(links_per_p
 
                this.rightmost_page = _pos[2];
 

	
 
                this.link = document.createElement('a');
 
                this.span = document.createElement();
 
                this.span = document.createElement('span');
 
                YUD.setStyle(this.span, 'display', 'none');
 

	
 
                this.na   = this.span.cloneNode(false);
 

	
 
                setId(this.link, id_base + '-last-link');
0 comments (0 inline, 0 general)