**** BEGIN LOGGING AT Wed Apr 24 02:59:58 2013 Apr 24 03:17:26 hey sugardave, is there a way for a parent kind to detect when one of its components is destroyed? Apr 24 03:21:25 hmm, you might be able to do something with componentsChanged Apr 24 03:21:44 that method actually exists? o.o Apr 24 03:21:50 maybe :) Apr 24 03:21:54 lol Apr 24 03:22:40 otherwise, I'd add an onDestroy event to enyo.Component and do it that way Apr 24 03:23:21 :\ Apr 24 03:23:54 btw, getClientControls() returns all components that are UiComponents, rigth? Apr 24 03:23:58 *right Apr 24 03:24:51 it returns all the components declared in the components block not marked isChrome and all components added via createComponent/s that aren't marked isChrome Apr 24 03:25:18 yea, I don't know what that variable is for Apr 24 03:25:23 so not just UiComponents….if you added regular components, those get returned as well Apr 24 03:25:55 isChrome: true means that it is part of the "chrome" or necessary pieces for the component to function…."client" controls are everything else Apr 24 03:30:01 I was able to find when the element gets destroyed by overriding removeComponent Apr 24 03:30:32 so is there any correct way to find UIcomponents and above? Apr 24 03:30:47 right now, I'm just looping through getComponents Apr 24 03:30:53 checking hasClass Apr 24 03:31:35 but if I try this method on some object that has non-Controls in their Components block, that would error Apr 24 03:31:50 So I'd like to know for future reference Apr 24 03:32:28 yeah, you can use instanceOf(kind) Apr 24 03:33:17 is that defined in enyo.Object? Apr 24 03:33:27 I think Component... Apr 24 03:34:18 hmm, actually this is just pojs Apr 24 03:34:55 and I had syntax wrong, it's like typeOf….. this.$.thing instanceof enyo.UiComponent Apr 24 03:35:28 and not camel-case. wo Apr 24 03:35:30 w Apr 24 03:36:15 I see Apr 24 03:36:29 well, that works for when they are the same kind Apr 24 03:36:40 it should work for anything that extends it Apr 24 03:37:02 hmmm, maybe not Apr 24 03:40:03 so, I just made an enyo.Control and ran instanceof enyo.Control and enyo.UiComponent and they both return true Apr 24 03:40:27 ok Apr 24 03:41:02 well, there's an enyo way to do that: component.isDescendantOf(ancestor) Apr 24 03:41:35 but I was wondering if there was a function already existing somewhere upwards of Control that grabbed only Controls or UiComponents Apr 24 03:41:41 ah cool Apr 24 03:41:48 so that I could use that instead of having to add that check If I needed to Apr 24 03:42:30 Not saying I can't use the check, but if there is a function that gets me the smaller set of data I need, then there's no point calling getComponents, you know? Apr 24 03:42:34 hence why I asked Apr 24 03:42:48 so, getClientControls is going to give you 99% of what you want, especially if you know there aren't enyo.Components in the declaration or added dynamically Apr 24 03:43:15 (if you guarantee that, then it gives you 100% of what you want) Apr 24 03:43:38 true, but does that make it any different from getComponents, really? Apr 24 03:43:47 sure it does Apr 24 03:43:58 how so? Apr 24 03:44:00 getComponents will get all of them, even isChrome: true ones Apr 24 03:44:16 so if you use something like an onyx widget, you'll get all kinds of extra stuff Apr 24 03:44:20 true, but how many things are isChrome true? Apr 24 03:44:32 depends on the component Apr 24 03:44:43 scrollers, scroll strategies come to mind Apr 24 03:44:50 delegates for repeaters, etc. Apr 24 03:44:58 ah Apr 24 03:45:00 I see Apr 24 03:55:11 btw, sugardave. I get this error randomly in Firebug on my enyo projects at home: Image corrupt or truncated: Apr 24 03:55:31 It doesn't seem to effect anything, but do you know what causes that? Apr 24 03:58:27 no idea Apr 24 03:59:27 wb summatusmentis Apr 24 03:59:42 thanks, my VPS provider is being awful Apr 24 04:04:50 VPS? Apr 24 04:08:39 Virtual Private Server Apr 24 04:08:46 it's a VM server hosted someplace Apr 24 04:08:51 ah, k Apr 24 04:09:30 is there a way to grab the "next" component in a list? Apr 24 04:09:49 I'm trying to make a Group that has a selected GroupItem Apr 24 04:09:58 and for it to select the next GroupItem when I hit down Apr 24 04:10:06 and the previous GroupItem when I hit up Apr 24 04:30:52 when I try to use enyo.indexOf Apr 24 04:31:02 it always gives me the first GroupItem Apr 24 04:31:07 any idea, sugardave? Apr 24 04:40:59 might need to iterate the components, fine the one that's active, then pick the next one Apr 24 04:41:05 they're in an array Apr 24 04:41:10 so they're indexed Apr 24 04:41:13 I just tried that Apr 24 04:41:25 like I said, enyo.indexOf always returns index 0 Apr 24 04:41:32 even when the active one is different Apr 24 04:42:52 enyo.indexOf(this.getActive(),this.getClientControls()); always returns 0 for some reason Apr 24 04:54:18 Also, another weird bug: I call this.$.input.focus(); in two different places Apr 24 04:54:31 in one place, it triggers the onfocus event Apr 24 04:54:35 in the other, it does not Apr 24 04:56:07 on Firefox, that is Apr 24 04:56:28 on IE10 in IE8 standards mode, it works correctly Apr 24 04:58:21 oh well, I'm getting off for the night Apr 24 04:58:27 I'll be on tomorrow Apr 24 13:47:12 hey guys, do you know how to get the previous or next component in a list? Apr 24 13:47:52 when I use enyo.indexOf with the component I want to find the index of, it's just returning 0 every time. Apr 24 14:14:49 highlighting: fxspec06 madnificent rrix Roy__ cryptk Apr 24 15:56:59 GodGinrai: i doubt there is a built-in, given that you only have the element Apr 24 15:57:14 GodGinrai: there's nothing which prevents the list from containing the same element twice so... Apr 24 16:07:31 madnificent: what do you mean? Apr 24 16:14:55 let's see if i understand your question correctly Apr 24 16:15:39 you have an array var arr = ["foo","bar","baz"]; and you want next(arr,"bar"); to retrun "baz", right? Apr 24 16:35:35 * madnificent looks for resources regarding the building/compressing of enyo apps Apr 24 16:35:52 * madnificent would really like for enyo-features to get into the main tree. will do the integration work when interest is shown Apr 24 17:11:05 madnificent: yes Apr 24 17:11:38 sorry this is so late an answer, my work computer fried Apr 24 17:15:04 GodGinrai: no problem, i'm slow too Apr 24 17:15:30 GodGinrai: well, the issue is that you're not sure that the element will only be available in the list once. therefore, i'd be surprised if there'd be some built-in functionality for it. Apr 24 17:15:56 then again, it's rather normal to build a library of little tools which you use often, you can put it in one of those if you encounter it too often. Apr 24 17:18:12 yea, but the problem is, I'm just trying to find the next or previous component in the components hash Apr 24 17:20:46 there is an addBefore property of component which allows you to choose which component to add it before. So shouldn't there also be a way to figure out what index a component is in the components hash? Apr 24 17:56:01 hey sugardave, you there? Apr 24 17:59:18 wb dkirker Apr 24 18:01:08 GodGinrai: getComponents() returns them all and getClientControls() returns non-isChrome ones….surely one of those two options works for this Apr 24 18:03:10 hmm, actually there is not getClientControls….so getComponents it is Apr 24 18:03:58 yes, but when I use enyo.indexOf with either of those arrays, and the element I need the index of, I get 0 Apr 24 18:04:06 for the index Apr 24 18:04:17 no matter which component I give it Apr 24 18:17:07 what does your indexOf call look like? Apr 24 18:18:17 enyo.indexOf(this.getComponents(), this.$.results.getActive()); Apr 24 18:18:30 results is an enyo.Group Apr 24 18:19:04 oh wait Apr 24 18:19:05 sorry Apr 24 18:19:14 I call that function in results Apr 24 18:19:22 I have it working: http://jsfiddle.net/sugardave/jEhs5/ Apr 24 18:19:33 so it looks like: enyo.indexOf(this.getComponents(), this.getActive()); Apr 24 18:19:47 getComponents().indexOf(this.$.whatever); works Apr 24 18:20:09 I would look at that right now, but jsfiddles don't work on my Pre3 and my work computer died 2 hours ago Apr 24 18:20:28 I can't use the regular indexOf function of Array Apr 24 18:20:34 IE8 doesn't support it Apr 24 18:20:42 bummer Apr 24 18:20:46 yea Apr 24 18:23:43 GodGinrai: I have that working, too Apr 24 18:24:10 with an enyo.Group? Apr 24 18:24:47 var test = this.getComponents(); this.log(enyo.indexOf(this.$.last, test); // returns 1, which is correct Apr 24 18:25:07 s/);/));/ Apr 24 18:26:00 GodGinrai: you have the args backwards Apr 24 18:26:10 it's element first, then array Apr 24 18:26:13 oh seriously? o.o Apr 24 18:26:18 hrm Apr 24 18:26:33 I'll have to check my code when I get home Apr 24 18:26:49 then why would it return 0 instead of -1 or false? Apr 24 18:27:44 something else is going on, because mine returns −1 if I reverse them Apr 24 18:28:34 hrm. I'll have to check my code tonight. Because I get 0 from however I'm calling it Apr 24 18:29:45 I wouldn't think an enyo.Group would make a shit, though anything is possible, I guess Apr 24 18:31:07 yea, I'm using this to get the index of GroutItems in my enyo.Group to activate the next or previous items when you press up or down Apr 24 18:31:26 so I need it to work w/ enyo.Group Apr 24 18:32:46 I added one with 2 components and it seems to be working just fine, the problem is that you won't be able to tell which index is the last one "inside" the group Apr 24 18:33:49 ah, how about getControls() ? Apr 24 18:34:00 you can run that on the group itself to just get the controls in there Apr 24 18:37:11 I got d/ced for no reason Apr 24 18:37:20 did you see what I said about getControls() ? Apr 24 18:38:02 last I saw was this: Apr 24 18:38:06 I added one with 2 components and it seems to be working just fine, the problem is that you won't be able to tell which index is the last one "inside" the group Apr 24 18:38:16 ah, how about getControls() ? Apr 24 18:38:17 1:34 Apr 24 18:38:17 you can run that on the group itself to just get the controls in there Apr 24 18:39:05 how is that going to change anything? Apr 24 18:39:41 do you want all the controls or all the controls in the group? if you .getControls() on the group, there is your array of elements Apr 24 18:39:48 btw, as for finding the last component, I just need to compare it against the getComponents().length Apr 24 18:39:58 and you're done, check indexOf on it for your element Apr 24 18:40:44 if indexOf doesn't work for getComponents, why would it work for getControls? Apr 24 18:41:27 it works, I have it running right here: http://jsfiddle.net/sugardave/jEhs5/ Apr 24 18:43:36 GodGinrai: you won't be able to compare against getComponents length IF there are more than just the Group control in the components block, plus the length will be off by 1, since it includes the group and all of its components as well (in the case there is ONLY the group plus its components) Apr 24 18:44:43 no, this method is being executed in a derivative kind of enyo.Group Apr 24 18:46:27 it's not a matter of an off by one Apr 24 18:46:38 I was checking my length and the returned index Apr 24 18:46:48 and the components were only GroupItems Apr 24 18:47:08 the length was 3 (as it should be) Apr 24 18:47:11 okay…so again, if you can guarantee ONLY enyo.UiComponents (or whatever you are interested in) are in the components block, you can use getComponents, otherwise, I'd use getControls. It sounds like in your case, they SHOULD return exactly the same thing Apr 24 18:47:18 but the index was 0 Apr 24 18:47:26 even though the active one was 1 Apr 24 18:48:09 the problem was not a matter of what was IN the array, but that the indexOf function was always returning 0 for me Apr 24 18:48:19 so, this is one of those cases where it would be great if you had a fiddle that showed the issue Apr 24 18:48:36 because from what I see, indexOf works perfectly Apr 24 18:49:36 I can try to make one later, but as I have no computer to work at today, I can't make it right now Apr 24 19:03:58 sugardave: have you grasped why you'd want enyo-features to be part of the main tree yet? if it would get accepted i can port it to the latest enyo. Apr 24 19:05:35 b/c it be asum! Apr 24 19:06:39 you should just do it and submit the pull request, and then everybody can jump in and talk about it :) Apr 24 19:08:48 i don't think anyone will give it attention unless there's someone backing it Apr 24 19:09:26 if you don't want to read it, you probably wont Apr 24 19:14:20 tonight, I'm gonna submit a JIRA ticket and pull request for the getComputedStyle fix tonight, btw Apr 24 19:14:32 oops, I said tonight twice XD Apr 24 19:23:48 I don't know why wIRC keeps parting this channel Apr 24 20:04:33 k, brt Apr 24 20:04:40 oops, wrong window :) Apr 24 20:19:43 lol Apr 24 21:38:49 hey sugardave, I just got home and checked my code Apr 24 21:39:04 I am doing this: Apr 24 21:39:04 var items = this.getClientControls(); Apr 24 21:39:04 var activeIndex = enyo.indexOf(this.getActive(),items); Apr 24 21:39:23 and that is always returning 0 for the index Apr 24 21:43:00 and getActive() is returning the correct element? Apr 24 21:43:17 GodGinrai: remember, I was wrong about getClientControls….it doesn't exist Apr 24 21:43:21 try getControls() Apr 24 21:44:51 I tried getControls Apr 24 21:44:53 same thing Apr 24 21:44:57 I get 0 for index Apr 24 21:47:17 and this.getActive() is returning the active element Apr 24 22:04:22 can you link me to your working jsfiddle again? Apr 24 22:04:43 sugardave Apr 24 22:10:47 GodGinrai: http://jsfiddle.net/sugardave/jEhs5/ Apr 24 22:44:26 figured out the problem Apr 24 22:44:37 enyo.indexOf was working correctly Apr 24 22:44:39 however Apr 24 22:44:45 the object was getting reset Apr 24 22:44:51 in the parent kind Apr 24 22:45:01 causing it to always have the same values Apr 24 23:10:28 hey madnificent, you still there? Apr 24 23:21:07 wb sugardave Apr 24 23:21:13 hola Apr 24 23:22:38 so Apr 24 23:22:44 I have a weird problem Apr 24 23:22:52 addResult: function(inResult) { Apr 24 23:22:52 this.createComponent({ Apr 24 23:22:52 kind: enyo.GroupItem, Apr 24 23:22:52 content: inResult, Apr 24 23:22:52 onmouseover: "activateResult", Apr 24 23:22:52 ontap: "tapResult" Apr 24 23:22:52 }); Apr 24 23:22:53 }, Apr 24 23:23:02 that's how I generate my GroupItems Apr 24 23:23:11 however Apr 24 23:23:25 even though the mouseover event will fire and call activateResult Apr 24 23:23:36 the tap event doesn't fire and call tapResult Apr 24 23:32:03 hmm, normally I would say it was an ownership problem, but since you are creating in this, it's not….plus the other handler runs Apr 24 23:32:26 just for test, change it to onclick amd see if it fires Apr 24 23:53:23 changing it to onclick did not fix it Apr 24 23:53:28 :\ Apr 25 00:23:49 GodGinrai: you never responded? Apr 25 00:32:33 never responded to what? Apr 25 00:43:40 btw sugardave, this is my first time trying to set events in a createComponent call, but since it worked for onmouseover, I thought it would work for ontap Apr 25 00:45:24 GodGinrai: I wonder if you should bind that whole function for addResult Apr 25 00:46:58 bind addResult? o_ô Apr 25 00:47:21 addResult: enyo.bind(this, function() {….}) Apr 25 00:47:42 or if top-of-tree code, this.bindSafely(function…) Apr 25 00:48:27 well, it depends on where you're running that, I guess…is it just the handler for another button in the same kind? Apr 25 01:10:35 the tapResult is the handler for when you tap on the GroupItem that is being dynamically generated Apr 25 01:11:15 it's literally defined right after the activateResult handler for the mouseover in the code Apr 25 01:11:38 what's weird Apr 25 01:12:04 is that this enyo.Group is in a larger kind, which I have a handler for ontap in Apr 25 01:12:19 but when I get enyo to log the originator of the taps to console Apr 25 01:12:27 it doesn't even log anything when I tap the group items Apr 25 01:12:39 even though ultimately, the whole group is contained in that kind Apr 25 01:12:59 So, I think that somehow, the event isn't even registering Apr 25 01:18:14 GodGinrai: am now Apr 25 01:19:34 * madnificent drafts another minifier as my web application doesn't follow the bootplate structure Apr 25 01:23:25 ooh Apr 25 01:23:32 madnificent, let me knows how that turns out Apr 25 01:23:35 I need one as well Apr 25 01:23:51 I separate my files into css/, js/, etc Apr 25 01:24:16 sugardave: I found out why the tapHandler wasn't working, but it presents a problem Apr 25 01:24:46 I had an onblur effect that was hiding the enyo.Group before the click event processed Apr 25 01:24:58 however, I need that onblur event :\ Apr 25 01:29:18 is there a way to delay one event in favor of another in Enyo? Apr 25 01:30:01 I need onblur to happen after ontap Apr 25 01:34:29 GodGinrai: if you're not shy of using lisp, i don't mind sharing Apr 25 01:35:19 lol, sadly, I have no experience using lisp. :\ Apr 25 01:35:32 I may try it later, but don't have time to learn it anytime soon Apr 25 01:35:42 hehe, it's not like i expect you to code it btw :P Apr 25 01:36:11 however, without a lisp implementation, the code is going to be hard to run :P Apr 25 01:36:21 lol yea Apr 25 01:37:09 My group at work is so non-java-phobic that they would probably run screaming if I tried to do anything that even involved lisp Apr 25 01:38:54 ah, in a year or 20 they'll likely have quite some features lisp has now... so we're sneaking in slowly... very slowly :P Apr 25 01:39:43 lol Apr 25 01:40:12 in less than a year they'll have lambda functions. albeit they are much more limited than those presented in lisp in 1958 or so, it's getting closer and closer! Apr 25 01:42:22 hey, do you know if it is possible to tell an event to wait to execute until another event has cleared? Apr 25 01:42:47 in Enyo Apr 25 01:43:22 I need my blur event, but at the same time, it screws up my tap event by executing before it Apr 25 01:43:24 is event handling done synchronously? Apr 25 01:43:47 * madnificent has seen timeouts in javascript for that purpose, it's not realy a solution, but it works. Apr 25 01:44:01 yea, I thought about timeouts Apr 25 01:44:10 however, I'd rather not Apr 25 01:44:29 i doubt you can check that the event has been handled fully without hacking the enyo source. Apr 25 01:44:45 :\ Apr 25 01:45:08 I still don't understand why a blur event is happening before a click event -_- Apr 25 01:45:29 if you haven't processed the click yet, how do you know the blur happened? Apr 25 01:45:46 IMHO, that is a bug Apr 25 01:48:23 i think the ECMAscript spec says that it should happen that way, and i can imagine it is the handy way in the vast majority of the cases. what is the problem you want to solve? Apr 25 01:48:43 alright, so I'm building a combobox Apr 25 01:49:10 and when you focus the input box in the combobox, the choices show up in a box below Apr 25 01:49:43 you can use the arrow keys or mouse to change which option in the box is selected, and then you can click or hit enter to add that as part of the list Apr 25 01:49:52 it's a multiselect, basically Apr 25 01:50:00 like the one from the jQuery chosen plugin Apr 25 01:50:05 however Apr 25 01:50:12 onblur, the box needs to disappear Apr 25 01:50:21 so what happens, is the box disappears Apr 25 01:50:37 and then tap goes "OH, YOU'RE CLICKING EMPTY SPACE? OK!" Apr 25 01:51:51 does it look like http://www.erichynds.com/examples/jquery-ui-multiselect-widget/demos/, or can you show me what it should look like? i'm having a slightly hard time imagining what is wrong. i don't see why a tap would cause a blur Apr 25 01:53:08 http://harvesthq.github.io/chosen/ Apr 25 01:53:18 the multiple select under: Selected and Disabled Support Apr 25 01:53:29 I'm basically making one of those in Enyo Apr 25 01:55:22 and when does it send an onBlur? because if the box from which i can select stuff is shown, i can just tap it, and you will have to explicitly hide it (after i tap it). Apr 25 01:55:36 exactly Apr 25 01:55:42 the onblur causes it to hide Apr 25 01:55:46 before the tap event happens Apr 25 01:56:03 so the tap event thinks I'm clicking empty space Apr 25 01:57:33 does the blurring happen automatically? Apr 25 01:57:39 as in: you ask it to blur, right? Apr 25 01:57:57 the blur happens because I'm clicking outside of the input Apr 25 01:58:13 and I have an onblur event for the input that hides the box Apr 25 02:00:08 GodGinrai: chosen seems to keep the input focussed... Apr 25 02:00:32 yea, I don't know how chosen does it Apr 25 02:00:47 and no, the blur event happens Apr 25 02:00:51 it just refocuses on chosen Apr 25 02:00:54 I do the same on mine Apr 25 02:01:12 it's not possible to prevent blur Apr 25 02:01:19 only to refocus after blur Apr 25 02:01:53 i think if you hide your picker with a timeout of 0, it'll work. Apr 25 02:02:39 that way the browser can handle the tap event, and enyo can thereby send it through the myriad of components you want to have. Apr 25 02:04:14 hrm Apr 25 02:04:26 I think I just came up w/ a workaround that works Apr 25 02:04:32 I need to test it tho' Apr 25 02:05:23 what's the idea? Apr 25 02:05:49 handle mousedown and tap Apr 25 02:06:28 mousedown will trigger a flag Apr 25 02:06:37 letting me know I moused down in the result box Apr 25 02:06:49 that way, it would know when the tap even comes Apr 25 02:06:57 "oh, he wasn't clicking empty space" Apr 25 02:07:11 does that work for touch-devices? Apr 25 02:07:23 don't know Apr 25 02:07:49 but I know that using mousedown instead of onclick seems to be the big solution most people have to the blur problem Apr 25 02:07:54 and this works for my case Apr 25 02:08:13 I can always rework it later if this solution is unsatisfactory for mobile devices Apr 25 02:08:24 that was half of a rhetorical question Apr 25 02:09:22 lol Apr 25 02:10:27 GodGinrai: i can test it on the touchpad, probably (no idea where it's at at the moment) Apr 25 02:10:35 heh Apr 25 02:10:40 let me know Apr 25 02:10:43 once you find out Apr 25 02:11:10 * madnificent continues his minifier instead Apr 25 02:18:08 Can anyone tell me why this makes the cols overlap: http://jsfiddle.net/trex005/JS3jw/1/ ? I can add position:relative to the second column and it fixes it's placement, but then it's width makes it hand off the right hand side. Apr 25 02:21:55 hey, if I return true in a handler, isn't that supposed to stop the event from bubbling up? Apr 25 02:22:01 it doesn't seem to be working for me Apr 25 02:22:13 Quick answer... yes :) Apr 25 02:22:40 Quick Question: why isn't it working for my tap event? Apr 25 02:23:21 Trex Apr 25 02:23:26 for your question Apr 25 02:23:30 you don't use class enyo-fit Apr 25 02:23:46 you give the kind you want to expand the property: "fit: true" Apr 25 02:24:47 Trex005: it doesn't load here for some reason, but you might need fit: true as GodGinrai said and you may need to use a horizontal-fit. i tend to suffer from those layout issues too. Apr 25 02:24:47 Updated fiddle: http://jsfiddle.net/JS3jw/2/ Apr 25 02:25:36 GodGinrai Apr 25 02:25:42 you have a fiddle showing your issue? Apr 25 02:26:17 Not atm Apr 25 02:26:48 Trex005: that second fiddle works, right? Apr 25 02:27:04 I can try to make one, but I'm not sure it is worth it, really. That would be a lot of typing for something that would probably work correctly when I try to make it in a fiddle Apr 25 02:27:48 yeah, that's usally what happens to me Apr 25 02:28:07 I was actually pleasently suprised when this one didn't work so I could actually get help Apr 25 02:28:15 lol Apr 25 02:28:55 basically I have a tap handler that I am returning true from after throwing my own custom event. But the tap event in the parent kind is activating even though it shouldn't Apr 25 02:29:27 I assume you are using ontap ? Apr 25 02:29:30 is it a button? Apr 25 02:29:40 nah, it's a GroupItem Apr 25 02:29:46 BTW your fix worked beautifully for me Apr 25 02:29:50 :) Apr 25 02:31:23 just for grins, can you try just "return;" Apr 25 02:31:35 instead of return true? sure Apr 25 02:32:31 what's the return value for the doEvent functions, anyway? Apr 25 02:32:50 return; had the same effect as return true Apr 25 02:33:30 I know I was just fighting this issue with a tree I was working on last week... and I found it odd that it is return true when javascript usually uses return false for canceling event handlers Apr 25 02:33:35 but I can't find that code Apr 25 02:34:15 it's not the same event. if you returned true from the handler, it'll stop propagating. you're catching two events, could it be that the other piece of code happens for the other event? Apr 25 02:34:30 that is AFAIK Apr 25 02:34:39 well, since I am only clicking once Apr 25 02:34:52 it should be the same tap event that both handlers are catching, should it not? Apr 25 02:35:30 Yeah, I just found my code and it's definitly return true.... I'm sorry :( Apr 25 02:35:39 s'ok Apr 25 02:36:07 can you try this... ontap: "ReturnTrue", Apr 25 02:36:20 then make a ReturnTrue function that all it does is return true? Apr 25 02:36:32 I could, but that wouldn't help Apr 25 02:36:36 I need to send my event Apr 25 02:36:58 right... just cutting out all possible things that could interfere.... need to start debugging somewhere Apr 25 02:37:08 lol Apr 25 02:37:09 GodGinrai: but you have an ontap and an onmousedown, no? Apr 25 02:39:23 yes, I have both Apr 25 02:39:56 also, it seems that when I take out the doEvent in the tap handler, it prevents the higher up one Apr 25 02:39:58 :\ Apr 25 02:40:17 which is what I want Apr 25 02:40:21 but I need to send my event Apr 25 02:42:52 are you returning with the onMouseDown? Apr 25 02:43:12 I added the return true to the mousedown handler while debugging this Apr 25 02:43:19 I had the same results both with and without Apr 25 02:43:30 I'm sorry... then I'm at a loss :( Apr 25 02:43:34 fiddle it! :) Apr 25 02:43:47 too much code to fiddle XD Apr 25 02:45:45 Ioh wait Apr 25 02:45:48 *oh wait Apr 25 02:45:58 I WAS preventing the event Apr 25 02:46:11 so fixed? :) Apr 25 02:46:16 or at least Apr 25 02:46:18 I think I was Apr 25 02:46:21 It's just that since I prevented it, I guess the input never blurred Apr 25 02:46:30 well, it did blur Apr 25 02:46:35 but before my event Apr 25 02:46:38 so I had prevented it Apr 25 02:47:04 so I just threw a input.blur() at the end of my event handler in the parent kind and it worked Apr 25 02:47:04 XD Apr 25 02:47:14 yay! Bed time for me Apr 25 02:47:18 lol Apr 25 02:47:22 in other words I'll probably be back in an hour Apr 25 02:47:26 hehe Apr 25 02:47:48 this channel is 100% more interesting when people are actually here discussing issues XD Apr 25 02:48:00 It's depressing looking at the logs Apr 25 02:48:07 most days start and end w/ me talking Apr 25 02:48:37 with just summatusmentis or sugardave responding Apr 25 02:52:12 note: this message makes the logs more fun Apr 25 02:52:32 lol Apr 25 02:52:57 Well Apr 25 02:53:26 now I have the Combobox I made working in FF, IE10, IE8, and I would assume the other browsers (I will test that at a later time) Apr 25 02:53:43 I just need to add a little more functionality and then I'll be tossing it up on github :D Apr 25 02:54:10 btw, is there a default license that people have to assume for code on github? Apr 25 02:55:32 you can specify which license you want….we use Apache 2.0 for our stuff Apr 25 02:55:49 k Apr 25 02:57:58 * madnificent uses 2 clause BSD or MIT by default: simple to read, hands off approach. **** ENDING LOGGING AT Thu Apr 25 02:59:59 2013