Safari won't even start, half the time, when I try, using wine. IE6 is slow as hell, compared to any non-wine browser, and IE7 using IEs4Linux+wine, won't start at all.
2009-02-13 04408, 2009
FauxFaux
I've heard linux fanboys say that, gtk is terrible^Hy friendly to accessibility and pretty fonts and..
2009-02-13 04423, 2009
brianfreud
maybe the JS itself is faster, but what good is that if the browser is so much slower?
2009-02-13 04406, 2009
pronik
a russian saying goes "I'm selling it for what I bought it for" ;)
works without any changes to the search server, for the moment - wraps in what it needs to still work :)
2009-02-13 04441, 2009
ruaok
sigh.
2009-02-13 04453, 2009
brianfreud
?
2009-02-13 04432, 2009
ruaok thinks we could've handled it more easily working together at a later point in time.
2009-02-13 04437, 2009
ruaok
but I guess it HAD to get done now.
2009-02-13 04436, 2009
brianfreud
oh, the js code is quite easy to change, later - it's a matter of only about 5 lines for the wrapper
2009-02-13 04457, 2009
pronik
brianfreud: it looks weird currently, since the sort marker is too close to the next column. maybe put it to the left?
2009-02-13 04400, 2009
brianfreud
when we actually change things, later, I can wrap in real sorting, outside of pagination
2009-02-13 04401, 2009
brianfreud
pronik: if I put it there, it gets stuck on top of the text
2009-02-13 04446, 2009
pronik
weird
2009-02-13 04424, 2009
brianfreud
background-image :P
2009-02-13 04454, 2009
ruaok has quit
2009-02-13 04407, 2009
ruaok joined the channel
2009-02-13 04432, 2009
Muz
I AM. THE SCATMAN.
2009-02-13 04432, 2009
navap
beee bap bap bada bop, bee bap bap bada bop
2009-02-13 04453, 2009
Muz
FAUX IS BAD GIRL.
2009-02-13 04425, 2009
navap sings along, beee bap bap bada bop, bee bap bap bada bop
2009-02-13 04421, 2009
navap
brianfreud: There is "document.getElementById", but what if the the elements only have a value set, and no id? Anything I can do, or do I have to add Ids?
2009-02-13 04438, 2009
brianfreud
what element are you trying to get to?
2009-02-13 04457, 2009
navap
Its in a select box
2009-02-13 04406, 2009
navap
"if (document.getElementById('1').selected) { .. }" but as I said, the select box only has values set, no ids.
2009-02-13 04427, 2009
brianfreud
on the tt site?
2009-02-13 04445, 2009
brianfreud
normally you have to walk down to it from the form
2009-02-13 04459, 2009
ruaok
on git: if i started a git rebase and things got fuxxored up, how can I start over?
2009-02-13 04441, 2009
pronik
git rebase --abort?
2009-02-13 04445, 2009
brianfreud
think it's git reset --hard
2009-02-13 04405, 2009
pronik
that's for merges I thought...
2009-02-13 04434, 2009
pronik
brianfreud: I'd like a favour from you ;)
2009-02-13 04439, 2009
ruaok
--abort worked. thanks
2009-02-13 04448, 2009
brianfreud
sure?
2009-02-13 04411, 2009
ruaok
yep
2009-02-13 04452, 2009
brianfreud
sorry, lol, meant pronik
2009-02-13 04453, 2009
pronik
since you are in js land anyway: how difficult would it be to implement a button which would call a server-side script with current URI, selected text and possibly dom path to the start of the selected text as parameters?
2009-02-13 04439, 2009
brianfreud
something like on click, POST url=http://foo&text=I am highlighted&dompath=this ?
2009-02-13 04454, 2009
brianfreud
why would you want to do it?
2009-02-13 04408, 2009
pronik
yes, exactly
2009-02-13 04435, 2009
pronik
I wish to have a "this translation is wrong" feedback from users or fellow developers/i18nizers
well, first, I would attach it to the right click menu, not just a regular left click
2009-02-13 04405, 2009
brianfreud
then I'd have to make sure all text was in <span>s
2009-02-13 04433, 2009
pronik
I'd like to have a button near uv's "feedback" or something like that
2009-02-13 04445, 2009
pronik
why the spans?
2009-02-13 04453, 2009
dull joined the channel
2009-02-13 04430, 2009
dull has left the channel
2009-02-13 04423, 2009
brianfreud
then I'd just (semi-pseudocode) $("span").bind("rightclick", function() { $.post("foo.url", { wrongtext: $(this).text() }, function() { alert("Thank you, this text has been reported"); }, text);
wrapping the text in a span just gives you a nice local element to both bind to and to extract .text() from
2009-02-13 04439, 2009
navap
What kind of javascript would let me clear a select form of any user selected values?
2009-02-13 04454, 2009
brianfreud
how about just using a reset button?
2009-02-13 04415, 2009
navap
That would reset the entire form thougu right?
2009-02-13 04419, 2009
brianfreud
yes
2009-02-13 04426, 2009
navap
Don't want that :p
2009-02-13 04432, 2009
navap
Just the one form element
2009-02-13 04440, 2009
brianfreud
you just want to unset whatever is set in the option?
2009-02-13 04442, 2009
pronik
brianfreud: yeah, but I'd like it to work for the whole page, so binding it to some elements is not going to work
2009-02-13 04452, 2009
pronik
event bubbling: if I bind select() on <html>, will each select bubble to the top?
2009-02-13 04456, 2009
brianfreud
pronik: $("span").each(function() { do foo }); would attach that onclick to every single span on the page
2009-02-13 04405, 2009
navap
brianfreud: http://xabbu.net/mb/ar-filter.htm If you choose 1, a second select box pops up. But if the user goes back to 0, then the second select box disapears..but its value still remains and gets passed when they click submit.
2009-02-13 04431, 2009
navap
I need the value to clear if/when the usur chooses 0.