**** BEGIN LOGGING AT Mon Jun 13 02:59:57 2011 Jun 13 03:49:28 haeffb: yay JS :s Jun 13 04:07:32 i've got a url in a textfield widget which is disabled Jun 13 04:07:39 is there anyway to make the link clickable Jun 13 04:08:37 PuffTheMagic, Put the entire thing in a separate div, and add an onclick event to the div which fetches the url of the textfield Jun 13 04:10:35 but there is no way to make it a standard link? Jun 13 04:11:20 If it's a static link, then you might be able to add an a href="yoururl" Jun 13 04:11:21 i thought mojo parsed url automatically Jun 13 04:12:08 It doesn't as far as I know unless it's a href'ed Jun 13 04:12:58 If it did, my app would be opening up a new window every time you clicked on a link seeing as it's all pulled from the server Jun 13 11:19:15 hey folks! anyone awake? Jun 13 11:22:37 i'm searching for a way to let the device vibrate, hopefully with enyo, but i can't find anything :( Jun 13 11:23:35 yawn Jun 13 11:25:16 https://developer.palm.com/distribution/viewtopic.php?f=97&t=14977 Jun 13 11:29:42 ryanwatkins: js2 mode works nicely Jun 13 11:30:42 rwhitby: cool. i've found it to be very good for js in general Jun 13 11:34:21 what are the chances of Pre3 playing ogg vorbis files out of the box, or at all? Jun 13 11:37:38 @ryanwatkins: ah! thanks Jun 13 13:47:09 Look what precentral found - http://www.precentral.net/interfacelift-update-inadvertently-reveals-touchpad-version Jun 13 14:21:53 Rogers to release TouchPad and Pre 3 on July 19th: http://t.co/IVrt4Zy Jun 13 14:21:59 Interesting Jun 13 14:22:06 I didn't think the Pre 3 would be here this soon Jun 13 14:22:11 (assuming that's true) Jun 13 14:23:22 awesome Jun 13 15:09:35 * ryanwatkins_ apparently forgot to signout at home. Jun 13 15:52:28 http://hassonybeenhackedthisweek.com/ Jun 13 15:52:38 lol Jun 13 15:53:20 Hi all, I've got one problem. In my preferences menu I'm using html5 database, on leaving pref menu I'm saving all informations and then redirect to main view. The problem is that the redirect if firing before database is saved. How can I prevent this ? Jun 13 15:53:38 *redirect is firing Jun 13 15:55:01 ddluk: you would need to move the code that takes them to the other scene into the success handler of the db transaction Jun 13 15:56:22 can I create just success handler for db.transaction? I was looking in the web how but I don't know Jun 13 15:57:08 the transaction.executeSql method takes 4 args: sql string, replacement array, success handler, and failure handler Jun 13 15:57:40 ddluk: check out http://bit.ly/MojoDB Jun 13 16:03:29 sugardave: the problem is that I'm not using mojo :) Jun 13 16:05:35 well Jun 13 16:05:44 the transaction.executeSql stuff should be the same Jun 13 16:06:03 are you using openDatabase to create it ? Jun 13 16:08:17 yes Jun 13 16:09:56 sugardave: my database code http://pastie.org/private/zsgolaciaqjjfwib6jekxa Jun 13 16:11:06 ddluk: so each of those lines, after arg 2 you can put a bound function to run on success (3rd arg) and failure (4th arg) Jun 13 16:11:54 ok, but then I need to check if all functions were succes, how? Jun 13 16:16:53 sugardave: off course I can create something like check var something1 = 1, something2 = 1 and then check if the sum is equal the number of transaction but this is stupid idea ;) Jun 13 16:18:52 ddluk: no, the executeSql will determine if it was successful or not, then call your handler (if defined) in whichever case it was Jun 13 16:19:01 so you could do something like this: Jun 13 16:19:26 var successCall = function() {//stuff to do when success}.bind(this); Jun 13 16:19:39 and bass successCall as the 3rd arg for all your transactions Jun 13 16:19:44 s/bass/pass/ Jun 13 16:23:55 sugardave: ok , but then it will run successCall every time transaction end, I need something which will run when all of them end Jun 13 16:27:01 you can chain them if they need to be run in order...do the next transaction in the success handler of the previous, but that can get emssy in a hurry when you have a lot of them Jun 13 16:27:27 otherwise, something like a transaction counter will probably work better (like you were talking about a few lines back) Jun 13 16:28:17 ddluk: it also looks like you can combine some of those statements Jun 13 16:28:59 wtf.. one freaking carrot in this 'vegetable medley'.. Jun 13 16:29:17 should be called, peas and corn.. Jun 13 16:29:39 ok, I will try :) thank you for help Jun 13 16:41:54 its all about the callbacks Jun 13 16:47:53 carrot callbacks? what? Jun 13 16:52:45 haeffb_pre: shouldn't you be in Nerdvana on a real computer? Jun 13 16:54:20 that would be nice. unfortunately I'm still employed even though I no longer have a job... Jun 13 16:54:29 that hardly seems fair Jun 13 16:56:16 no kidding. I still have to show up or they won't pay me. or something. Jun 13 16:57:00 bitches! Jun 13 16:59:58 got my bug fix yet? Jun 13 17:00:27 ummm, not unless it happened while I was sleeping, no Jun 13 17:01:30 mmm sleep. Jun 13 17:02:10 gotta love it Jun 13 17:04:19 lies Jun 13 17:05:26 love it, just dont get enough of it. Jun 13 18:01:16 pre3 july19? Jun 13 18:01:18 * oilsworkn hopes Jun 13 18:02:16 * hotdp wonders if is worth replacing the pre 2 with pre 3 Jun 13 18:02:48 its gotta be Jun 13 18:02:59 I would think so Jun 13 18:03:17 the pre 2 is fast? Jun 13 18:03:21 i don't need speed? Jun 13 18:03:30 so what more then the resolution is it? Jun 13 18:03:39 new hotness vs old and busted? Jun 13 18:04:22 3 > 2 ? Jun 13 18:04:44 hey adora, whats up with wirc submission? Jun 13 18:05:41 beat it harder Jun 13 18:05:45 oilsworkn: did you find more bad line endings? Jun 13 18:07:13 i cleared em all the last time i submitted em Jun 13 18:08:08 unless anyone can find more dos line endings in http://git.webos-internals.org/?p=applications/wIRC.git;a=summary Jun 13 18:09:01 hehe Jun 13 18:09:11 i was asking serius Jun 13 18:09:15 pixels - all about the more pixels Jun 13 18:09:30 but more pixels = more money Jun 13 18:09:42 0 $ > xxx $ Jun 13 18:10:26 ya, well thats always the case. But there is also a reason always get the high res display for the laptop. Jun 13 18:11:26 i love that even though > isn't correct in the above equasion it still makes perfect sense Jun 13 18:13:09 when where the rss feeds finally turned off? Jun 13 18:13:42 was away from internet since friday afternoon Jun 13 18:35:35 lol, the messaging patches have broken depends lines Jun 13 18:40:37 Depends: org.webosinternals.messagingpatchpatch Jun 13 18:44:07 cxreg, Yeah I ran into that Jun 13 18:44:23 I tried repackaging them with the right depends lines... no luck Jun 13 18:45:19 i managed to get that to work Jun 13 18:45:25 i think the order you pass the files to ar matters Jun 13 18:45:32 i followed instructions for making a .dpkg Jun 13 18:45:50 ar -r org.webosinternals.messagingallplugins_2.6.1_armv7.ipk debian-binary control.tar.gz data.tar.gz Jun 13 18:46:13 er, a .deb Jun 13 18:49:07 I didn't do it that way... I used the java ipkg builder tool Jun 13 21:26:11 dieter joining thisismynext... not what I expected, but awesome Jun 13 21:29:43 yeah Jun 13 21:30:45 it was already a webos lovefest with joshua in there haha Jun 13 21:46:07 how does one override what happens when a link is clicked? Jun 13 21:46:53 return false; Jun 13 21:47:49 function myOnClickHandler() { doStuff(); return false; } Jun 13 21:47:59 technically not ideal in a couple ways but its the simple answer. Jun 13 21:50:20 i guess the question was more about what even do I have to listen to Jun 13 21:50:34 click Jun 13 21:50:45 onclick of the a tag. Jun 13 21:51:09 hmm so I have to give the a tag a id Jun 13 21:51:15 yes Jun 13 21:51:16 go! Jun 13 21:51:25 ohh Jun 13 21:51:30 thats ugly Jun 13 21:51:33 haha it is Jun 13 21:51:35 but you should not write it inline that wya Jun 13 21:51:44 how do I do it in js Jun 13 21:51:50 i dont want that crap in my html Jun 13 21:51:55 give the a tag an id Jun 13 21:52:15 then get the node, by id or some other method and hook up an "onclick" handler. Jun 13 21:52:15 so just var links = document.getElementsByTagName("a"); then loop thru the collection and add an onclick handler for each node. Jun 13 21:53:37 lol Jun 13 21:53:59 tho at that points its sorta like "why are they anchors anyway?" Jun 13 21:54:00 overkill Jun 13 21:54:03 this is just 1 link Jun 13 21:57:25 hi @all Jun 13 21:58:32 hello @you Jun 13 21:59:08 I've just a simple question. How can in type a @ in the emulator on a mac? alt+l and alt+q down work. Jun 13 21:59:08 ^^^ do cherries put you in a good mood? Jun 13 22:00:58 cherries are hella good Jun 13 22:01:34 so if i add a id to a... should I be using the tap event? Jun 13 22:01:37 i have no clue how to type @ in the emulator though Jun 13 22:01:56 PuffTheMagic: but why is it an a? Jun 13 22:02:15 why not just have that row in the group be the trigger for the menu Jun 13 22:02:26 and simply have the font color blue with an underline? Jun 13 22:02:29 cause how will people know to click on it? Jun 13 22:02:45 the blue and underline? Jun 13 22:02:53 thats why its an a Jun 13 22:03:15 a big flashing .gif that says "CLICK HERE" with a giant Las Vegas-looking arrow pointing to it Jun 13 22:03:20 but you can style anything with blue text and an underline, it doesn't have to be an anchor tag Jun 13 22:03:41 i didnt want to have to mess with css Jun 13 22:03:48 what if palm changes what links look like Jun 13 22:03:49 ;) Jun 13 22:03:54 haha Jun 13 22:04:07 style="color: blue; text-decoration: underline;" Jun 13 22:04:36 PuffTheMagic, palm is NEVER going to update your pixi and change that stuff :) Jun 13 22:04:43 haha Jun 13 22:04:45 im using my pre2 rtight now Jun 13 22:04:48 oh Jun 13 22:04:50 lol Jun 13 22:04:52 lol Jun 13 22:05:01 wifi is wonky on my pixi Jun 13 22:05:06 it needs to be doctored Jun 13 22:05:09 but im too lazy Jun 13 22:05:18 its a swap to a sprint pixi right? Jun 13 22:05:23 ya Jun 13 22:05:31 its connects to my AP just fine Jun 13 22:05:35 and gets an ip and shit Jun 13 22:05:41 but then its like it dont work Jun 13 22:05:48 i havent doctored it in ages so idk Jun 13 22:05:49 huh Jun 13 22:05:51 i used to do that every week Jun 13 22:05:56 * oilsworkn would start by rebooting the ap haha Jun 13 22:06:02 no its not the ap Jun 13 22:06:06 all my other devices work fine Jun 13 22:06:52 * oilsworkn always power cycles first Jun 13 22:07:01 its not the AP Jun 13 22:07:04 its def the phone Jun 13 22:07:27 lol Jun 13 22:12:49 oilsworkn: you can get the @ with shift+2 - seems like the keyboard is mapped to us-layout. Jun 13 22:19:01 you must press the actual soft shift key, I dont think there is a way to get the @ from your OS keyboard in the emulator directly Jun 13 22:23:56 yeah, I couldn't find a way either. Jun 13 22:24:37 I have a couple of issues like that with emulator useability. I need to tie down lemketron and work out either what I'm doing wrong or what he needs to add :) Jun 13 22:24:48 oil, how do i get the current scenecontroller? Jun 13 22:25:53 the long way (oldie but goodie): Mojo.Controller.getAppController().getActiveStageController(); Jun 13 22:26:51 gah att. WHY WON'T YOU TAKE MY MONEY. Jun 13 22:42:53 rwhitby: I have duct tape and can help Jun 13 22:45:44 with the tie up, I mean Jun 13 23:22:05 rwhitby: Can't you hold down the left alt and press the 2/@ on your keyboard? That works for me in the emulator if I remember correctly. Jun 13 23:22:13 Or is it left ctrl... hmm Jun 13 23:22:19 * twbbas doesn't want to open up my emulator right now Jun 13 23:24:38 * rwhitby wonders why it isn't Shift-2 ... Jun 13 23:34:47 rwhitby: I think it's because the alt key simulates the orange key on phones Jun 13 23:36:55 anyone know what might cause a maximum call stack size exceeded error Jun 13 23:37:04 happens when i click on a popup menu item Jun 14 00:01:06 http://media.precentral.net/resources/images/000/104/548/original/wifi-media-sync-2.png Jun 14 00:01:24 take the screenshot for app with wifi in its name while its plugged in? Jun 14 00:01:45 lol Jun 14 00:02:07 atleast dismiss the usb dash Jun 14 00:18:06 Tibfib: ping Jun 14 00:44:16 haha oil Jun 14 00:57:25 PuffTheMagic: I remember getting that error when I applied a regular kind to a layoutKind property by accident. Jun 14 01:45:01 you know what Jun 14 01:45:03 ive noticed something Jun 14 01:45:05 QR codes suck Jun 14 01:45:20 yup :I Jun 14 01:45:22 or maybe the cameras in the moto cliq and iphone 3GS suck Jun 14 01:45:35 I dont really know what to blame Jun 14 01:45:44 nah, it's more the QR codes pack a lot in a small space where the only variables are either full black or full white! Jun 14 01:46:07 "but you could read them with a 1-bit laser!" yeah great too bad your phone camera is going to blur and introduce a BILLION SHADES OF GREY :Q Jun 14 01:46:14 binary seems to work for other computer systems Jun 14 02:32:47 sugardave: should I post in my thread again? **** ENDING LOGGING AT Tue Jun 14 02:59:57 2011