Skip to content
Snippets Groups Projects
Commit 60d39a65 authored by Demian Katz's avatar Demian Katz
Browse files

Updated eds.phtml to match recent slider updates.

parent daf26f3d
No related merge requests found
...@@ -92,7 +92,7 @@ ...@@ -92,7 +92,7 @@
<input type="text" id="PublicationDateSlider"> <input type="text" id="PublicationDateSlider">
</div> </div>
<? <?
$this->headScript()->appendFile('vendor/bootstrap-slider.js'); $this->headScript()->appendFile('vendor/bootstrap-slider.min.js');
$this->headLink()->appendStylesheet('vendor/bootstrap-slider.min.css'); $this->headLink()->appendStylesheet('vendor/bootstrap-slider.min.css');
$min = !empty($current['values'][0]) ? min($current['values'][0], 1400) : 1400; $min = !empty($current['values'][0]) ? min($current['values'][0], 1400) : 1400;
$future = date('Y', time()+31536000); $future = date('Y', time()+31536000);
...@@ -119,7 +119,7 @@ $(document).ready(function() { ...@@ -119,7 +119,7 @@ $(document).ready(function() {
'tooltip':"hide", 'tooltip':"hide",
'value':[{$low},{$high}] 'value':[{$low},{$high}]
}) })
.on('slide', fillTexts) .on('change', fillTexts)
.data('slider'); .data('slider');
{$init} {$init}
}); });
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment