Roo/bootstrap/PagingToolbar.js
authoredward <edward@roojs.com>
Tue, 2 Jan 2018 07:32:22 +0000 (15:32 +0800)
committeredward <edward@roojs.com>
Tue, 2 Jan 2018 07:32:22 +0000 (15:32 +0800)
Roo/bootstrap/PagingToolbar.js

index c98295e..8c626e9 100644 (file)
@@ -227,9 +227,11 @@ Roo.extend(Roo.bootstrap.PagingToolbar, Roo.bootstrap.NavSimplebar, {
             ps = d.pages;
         
         if(this.afterTextEl){
-            this.afterTextEl.dom.innerHTML = String.format(this.afterPageText, d.pages);
+            
         }
         
+        this.afterTextEl.dom.innerHTML = String.format(this.afterPageText, d.pages);
+        
         this.field.dom.value = ap;
         this.first.setDisabled(ap == 1);
         this.prev.setDisabled(ap == 1);