summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhjnim.kim <hjnim.kim@samsung.com>2013-05-08 17:40:29 +0900
committerhjnim.kim <hjnim.kim@samsung.com>2013-05-10 14:39:25 +0900
commit3f5af9daa117d95770a0169a54d51549daf2c8b4 (patch)
tree43c05e5673ec017711321c66f5d6a398b2a25908
parentf6dfac451692277d3d5380fc3d52f9006983481a (diff)
downloadweb-ui-fw-3f5af9daa117d95770a0169a54d51549daf2c8b4.tar.gz
web-ui-fw-3f5af9daa117d95770a0169a54d51549daf2c8b4.tar.bz2
web-ui-fw-3f5af9daa117d95770a0169a54d51549daf2c8b4.zip
Slider: JQM patch fixed ( event.target match )
Slider event.target check before vmousemoved N_SE-37574 Change-Id: I78d71e87def224d8f4af6b998931dfe215d9be03
-rw-r--r--libs/patch/0045-JQM-divide-jQM-and-Tizen-slider-on-dragging-outside-.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/patch/0045-JQM-divide-jQM-and-Tizen-slider-on-dragging-outside-.patch b/libs/patch/0045-JQM-divide-jQM-and-Tizen-slider-on-dragging-outside-.patch
index 9769a5e7..d71dd54f 100644
--- a/libs/patch/0045-JQM-divide-jQM-and-Tizen-slider-on-dragging-outside-.patch
+++ b/libs/patch/0045-JQM-divide-jQM-and-Tizen-slider-on-dragging-outside-.patch
@@ -18,7 +18,7 @@ index b189714..dae5dce 100644
// NOTE: we don't do this in refresh because we still want to
// support programmatic alteration of disabled inputs
- if ( self.dragging && !self.options.disabled ) {
-+ if ( self.dragging && !self.options.disabled && (!slider.is(".ui-toggle-switch") || (slider.is(".ui-toggle-switch") && slider.find(".ui-slider-handle").is(".ui-btn-hover-s"))) ) {
++ if ( self.dragging && !self.options.disabled && (!$(self.element).siblings(".ui-slider").is(".ui-toggle-switch") || (( $(event.target).find(".ui-slider-switch") === $(self.element) ) && slider.is(".ui-toggle-switch") && $(self.element).siblings(".ui-slider").find(".ui-slider-handle").is(".ui-btn-hover-s"))) ) {
+ // divide jQM and Tizen slider on dragging outside of toggle area
// self.mouseMoved must be updated before refresh() because it will be used in the control "change" event