fluid-work IRC Logs-2008-10-17

fluid-work IRC Logs-2008-10-17

[00:07:13 EDT(-0400)] * apetro-_ (n=apetro@ip68-3-58-144.ph.ph.cox.net) has joined #fluid-work
[01:37:20 EDT(-0400)] * apetro-_ (n=apetro@ip68-3-58-144.ph.ph.cox.net) has joined #fluid-work
[08:24:12 EDT(-0400)] * jacobfarber1 (n=Main@CPE000cf1c85c13-CM001692f5798c.cpe.net.cable.rogers.com) has joined #fluid-work
[08:35:13 EDT(-0400)] * justin_o (n=jmo@CPE001b63f2cc0e-CM0011aec4b062.cpe.net.cable.rogers.com) has joined #fluid-work
[09:23:03 EDT(-0400)] * anastasiac (n=team@142.150.154.160) has joined #fluid-work
[09:53:12 EDT(-0400)] * apetro-_ (n=apetro@ip68-3-58-144.ph.ph.cox.net) has joined #fluid-work
[10:27:08 EDT(-0400)] * michelled (n=team@142.150.154.197) has joined #fluid-work
[10:29:10 EDT(-0400)] * athena7 (n=athena7@adsl-75-58-126-207.dsl.wlfrct.sbcglobal.net) has joined #fluid-work
[10:31:06 EDT(-0400)] <justin_o> michelled, jacobfarber; have you guys ever had the problem where the firebug console doesn't display anything... I thought it was something wrong with the tests but now i'm thinking it maybe firebug... i'm using ff2 by the way
[10:31:28 EDT(-0400)] <michelled> I've never seen that with FF2
[10:31:43 EDT(-0400)] <michelled> I often have that type of strange behaviour with FF3
[10:31:58 EDT(-0400)] <michelled> how are you printing to the console?
[10:32:42 EDT(-0400)] <justin_o> I'm not seeing any output from doh.robot and when I did a console.log(); it displayed an error.. let me go see if i can get the error message
[10:34:06 EDT(-0400)] <justin_o> it says console is not defined
[10:35:16 EDT(-0400)] <justin_o> michelled:^
[10:35:28 EDT(-0400)] <michelled> what happens when you type 'console.log("blah");' into the console itself? Does that work?
[10:35:38 EDT(-0400)] <justin_o> let me try that
[10:36:11 EDT(-0400)] <justin_o> nope
[10:36:31 EDT(-0400)] <justin_o> it says "ReferenceError: console is not defined"
[10:36:51 EDT(-0400)] <justin_o> I guess my firebug isn't working
[10:36:56 EDT(-0400)] <michelled> ya
[10:37:17 EDT(-0400)] <michelled> try restarting your browser
[10:37:25 EDT(-0400)] <michelled> if that doesn't work then try reinstalling firebug
[10:38:04 EDT(-0400)] <justin_o> this happened yesterday and today.. and i just installed it yesterday so i think i'll have to reinstall it... do you know which version you are running in case i need to find an older version
[10:56:54 EDT(-0400)] * anastasiac_ (n=team@142.150.154.160) has joined #fluid-work
[15:49:43 EDT(-0400)] * apetro-_ (n=apetro@12.164.139.7) has joined #fluid-work
[16:15:28 EDT(-0400)] <jacobfarber1> is everything still down at the atrc?
[16:15:59 EDT(-0400)] <jacobfarber1> .....i cant seem to ping anyone....
[16:24:55 EDT(-0400)] * phiggins (n=dante@c-68-34-199-67.hsd1.tn.comcast.net) has joined #fluid-work
[16:29:59 EDT(-0400)] <michelled> yay wiki is back!
[17:15:14 EDT(-0400)] * apetro-_ (n=apetro@wsip-98-174-242-39.ph.ph.cox.net) has joined #fluid-work
[18:17:06 EDT(-0400)] * thclown (n=theclown@bas1-cooksville17-1279414121.dsl.bell.ca) has left #fluid-work
[19:13:36 EDT(-0400)] * justin_o (n=jmo@CPE001b63f2cc0e-CM0011aec4b062.cpe.net.cable.rogers.com) has joined #fluid-work
[19:14:04 EDT(-0400)] <justin_o> ecochran: do you have a second to answer a jQuery question
[19:14:15 EDT(-0400)] <ecochran> shoot
[19:14:20 EDT(-0400)] <ecochran> justin_o: ^
[19:15:55 EDT(-0400)] <justin_o> thanks... for inline edit it appears that the undo/redo links are added to the page some time after load.. When i call something like $("a.undoControl).offset() it gives me top = 0 and left = 0 which i suppose is calculated on load... is there anyway that i can get the current position
[19:16:08 EDT(-0400)] <justin_o> after i've editted a field and it appears on screen
[19:16:45 EDT(-0400)] <justin_o> ecochran: ^
[19:17:52 EDT(-0400)] <ecochran> justin_o: hmm, what you're doing should work
[19:18:00 EDT(-0400)] <ecochran> let me think about it for a moment
[19:18:27 EDT(-0400)] <justin_o> okay.... it could just be something with the way i've implemented it...
[19:18:46 EDT(-0400)] <ecochran> justin_o: I think what you actually want is position()
[19:19:11 EDT(-0400)] <ecochran> since you want to know the position relative to the parent that is dictating the position
[19:19:34 EDT(-0400)] <ecochran> also make sure that your getting a single element instance for the jQuery object
[19:19:49 EDT(-0400)] <justin_o> I need it relative to the viewport so that i can move the mouse there...
[19:19:58 EDT(-0400)] <ecochran> you may be getting an odd result if there is more than oen a.undoControl
[19:19:59 EDT(-0400)] <justin_o> i'll have to double check it could be more than a single instance
[19:20:20 EDT(-0400)] <ecochran> what do you mean by "move the mouse there"
[19:20:21 EDT(-0400)] <justin_o> although i think i used .eq(0) to get the first one... but i'll double check
[19:20:30 EDT(-0400)] <ecochran> that should do it
[19:20:34 EDT(-0400)] <justin_o> oh sorry.. it is for the gui testing
[19:20:38 EDT(-0400)] <ecochran> ah
[19:20:55 EDT(-0400)] <justin_o> if i don't want to use all of dojo i have to give x y coordinates
[19:21:02 EDT(-0400)] <ecochran> of course... it is Justin asking me these questions... I should have realized
[19:21:24 EDT(-0400)] <ecochran> could the object have some strange positioning?
[19:21:47 EDT(-0400)] <ecochran> which inline edit example are you in? I'll look at what jquery gives me in the console
[19:22:04 EDT(-0400)] <justin_o> thanks.. i'm looking at the sakai announcements example
[19:28:53 EDT(-0400)] <justin_o> ecochran: I am using $(a.undoControl).eq(0).offset()
[19:31:18 EDT(-0400)] <ecochran> justin_o: did you mean $("a.undoControl").eq(0).offset()?
[19:31:45 EDT(-0400)] <ecochran> I'm getting good data off that.
[19:32:22 EDT(-0400)] <ecochran> also are you accounting for the iFrame?
[19:33:04 EDT(-0400)] <justin_o> yes... i did mean to include the "
[19:33:35 EDT(-0400)] <justin_o> um... i think I may have found the problem... i think i stuck the command in there before i exited edit mode
[19:33:51 EDT(-0400)] <justin_o> what did you mean by account for the iframe though... do i have to do anything special for that
[19:39:45 EDT(-0400)] <ecochran> justin_o: sorry, my mistake, I forgot that this example, even though it looks like Sakai, doesn't use an iFrame
[19:40:03 EDT(-0400)] <ecochran> If it did you'd have to account for the fact that the viewport would be the iFrame and not the window
[19:40:06 EDT(-0400)] <ecochran> all is good
[19:41:21 EDT(-0400)] <justin_o> oh okay... that's good to know... coz i believe the bSpace example does have an iFrame...
[19:41:32 EDT(-0400)] <ecochran> yeah it does
[19:41:47 EDT(-0400)] <ecochran> I don't know how the testing software accounts for it
[19:42:17 EDT(-0400)] <ecochran> actually might get tricky because you may need to reference objects by frame... makes the JS code a little more complex
[19:42:58 EDT(-0400)] <justin_o> I'll try to look into that a bit later... i may not be able to do it though..
[19:46:32 EDT(-0400)] <justin_o> I'm afraid that the doh.robot may not be robust enough to handle it
[19:51:07 EDT(-0400)] <ecochran> you can probably trick it by just loading the inner frame which is where all the magic happens anyway
[19:51:16 EDT(-0400)] * ecochran (n=ecochran@dhcp-169-229-212-42.LIPS.Berkeley.EDU) has left #fluid-work