Fixing slider code to work with touch. This will fix the mediaplayer volume control 61/30661/1 accepted/tizen/ivi/20141124.011535 submit/tizen_ivi/20141121.222206
authorBrian Jones <brian.j.jones@intel.com>
Fri, 21 Nov 2014 22:15:14 +0000 (14:15 -0800)
committerBrian Jones <brian.j.jones@intel.com>
Fri, 21 Nov 2014 22:15:40 +0000 (14:15 -0800)
Change-Id: I7df41fca4622679b898c0e6b877be5b0ff356e97

css/car/components/jQuery/jquery.nouisliderix.js
packaging/modello-common.changes

index e57302e..eedfd59 100644 (file)
                                                }
 
                                                var bind = '.noUiSlider',
-                                               onEvent = (EVENT === 1 ? 'mousedown' : EVENT === 2 ? 'MSPointerDown' : EVENT === 3 ? 'mousedown' : 'touchstart') + bind + 'X',
-                                               moveEvent = (EVENT === 1 ? 'mousemove' : EVENT === 2 ? 'MSPointerMove' : EVENT === 3 ? 'mousemove' : 'touchmove') + bind,
-                                               offEvent = (EVENT === 1 ? 'mouseup' : EVENT === 2 ? 'MSPointerUp' : EVENT === 3 ? 'mouseup' :'touchend') + bind
+                                               onEvent = (EVENT === 1 ? 'mousedown' : EVENT === 2 ? 'MSPointerDown' : EVENT === 3 ? 'touchstart' : 'mousedown') + bind + 'X',
+                                               moveEvent = (EVENT === 1 ? 'mousemove' : EVENT === 2 ? 'MSPointerMove' : EVENT === 3 ? 'touchmove' : 'mousemove') + bind,
+                                               offEvent = (EVENT === 1 ? 'mouseup' : EVENT === 2 ? 'MSPointerUp' : EVENT === 3 ? 'touchend' : 'mouseup') + bind
 
                                                handles[i].find('div').on(onEvent, function (e) {
 
index 2148bf9..1cd6d42 100644 (file)
@@ -1,3 +1,7 @@
+* Fri Nov 21 2014 Brian Jones <brian.j.jones@intel.com> accepted/tizen/ivi/20141110.082141-1-gf84531a
+- remove device from list and show scan button when unpairing
+- Fixing slider code to work with touch.  This will fix the mediaplayer volume control
+
 * Fri Oct 24 2014 Brian Jones <brian.j.jones@intel.com> accepted/tizen/ivi/20141024.004833-1-g3fbf137
 - Updating Tire and Transmission listeners for AMB