Mercurial > hg > digilib-old
changeset 1029:7c8ac6fb14ce
fix quoting bug in slider.js. disable still broken sliders.
author | robcast |
---|---|
date | Thu, 08 Mar 2012 10:25:54 +0100 |
parents | 7c401c168a95 |
children | ef94924cc0c4 |
files | webapp/src/main/webapp/jquery/jquery.digilib.sliders.js |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/webapp/src/main/webapp/jquery/jquery.digilib.sliders.js Wed Mar 07 17:27:30 2012 +0100 +++ b/webapp/src/main/webapp/jquery/jquery.digilib.sliders.js Thu Mar 08 10:25:54 2012 +0100 @@ -275,7 +275,7 @@ // add defaults, actions, buttons $.extend(true, digilib.defaults, defaults); // make deep copy $.extend(digilib.actions, actions); - setButtonActions(digilib.buttons); + //setButtonActions(digilib.buttons); // export functions fn.setupSlider = setupSlider; fn.setupPanel = setupPanel; @@ -323,7 +323,7 @@ var cssClass = data.cssPrefix+'slider'; var html = '\ <div id="'+id+' class="'+cssClass+'">\ - <div class="'+cssClass+'handle" /> + <div class="'+cssClass+'handle"/>\ <div class="'+cssClass+'number">'+options.min+'</div>\ <div class="'+cssClass+'number">'+options.max+'</div>\ <div class="'+cssClass+'label">\ @@ -335,7 +335,7 @@ var $handle = $div.find('div.'+cssClass+'handle'); var $label = $div.find('div.'+cssClass+'label'); var $input = $div.find('div.'+cssClass+'input'); - var $numbers = $div.find('div.'+cssClass+'number') + var $numbers = $div.find('div.'+cssClass+'number'); var $min = $numbers[0]; var $max = $numbers[1]; var options = defaults;