ElkArte Community

Elk Development => Bug Reports => Exterminated Bugs => Topic started by: scripple on March 23, 2014, 04:16:48 pm

Title: More Smileys Box slider doesn't work
Post by: scripple on March 23, 2014, 04:16:48 pm
When I bring up the more smileys box the slider doesn't work correctly.  It highlights when I hover over it but rather than slide the slider when I click and try to move it it the entire window moves instead.  That is rather than scrolling through smileys I just drag the window around my desktop.

Clicking to either side of the slider handle does scroll the box back and forth though.
Title: Re: More Smileys Box slider doesn't work
Post by: emanuele on March 23, 2014, 04:40:53 pm
Darn stuff!! :P
/me feels guilty.

In jquery.sceditor.elkarte.js, replace:
Code: [Select]
$('.sceditor-smileyPopup').draggable();

with
Code: [Select]
$('.sceditor-smileyPopup').draggable({handle: '.sceditor-popup-grip'});
Should fix it.
Title: Re: More Smileys Box slider doesn't work
Post by: scripple on March 23, 2014, 05:02:14 pm
Yes it did.  Thanks.
Title: Re: More Smileys Box slider doesn't work
Post by: emanuele on March 24, 2014, 04:11:18 pm
https://github.com/emanuele45/Dialogo/commit/2e0e833d8c553d4072cbc0ceef999da8bd1e7990