allow string based values for comboboxarray
[roojs1] / Roo / bootstrap / DocumentSlider.js
index 66af73c..043ae0c 100644 (file)
@@ -7,7 +7,6 @@
  * @class Roo.bootstrap.DocumentSlider
  * @extends Roo.bootstrap.Component
  * Bootstrap DocumentSlider class
- * @cfg {Number} total 
  * 
  * @constructor
  * Create a new DocumentViewer
@@ -128,7 +127,7 @@ Roo.extend(Roo.bootstrap.DocumentSlider, Roo.bootstrap.Component,  {
         this.nextIndicator = this.el.select('.roo-document-slider-next i', true).first();
         this.nextIndicator.setVisibilityMode(Roo.Element.DISPLAY);
         
-        this.bodyEl.on('click', this.onClick, this);
+        this.thumbEl.on('click', this.onClick, this);
         
         this.prevIndicator.on('click', this.prev, this);