Open GoogleCodeExporter opened 9 years ago
ack. yeah, i know what's happening here. with javascript turned off, there's no
ajax,
which means that activescaffold busts out of any embedding when you try and
click
*anything*. no clue how to resolve this.
Original comment by cainl...@gmail.com
on 31 May 2007 at 6:08
Perhaps use <noscript> to show a warning that javascript should be enabled for
proper use ?
http://www.w3schools.com/tags/tag_noscript.asp
Original comment by tom.bi...@gmail.com
on 26 Jun 2007 at 9:14
Yeah, we'd probably be best off just not showing the embedded scaffold at all. I
can't think what value an embedded scaffold could have with javascript turned
off.
Original comment by cainl...@gmail.com
on 26 Jun 2007 at 10:57
We should probably send the user to a page with only the embedded scaffold on
it. The
short-term fix might be to just disabled all nested scaffold links in the
absence of JS.
Original comment by rrwh...@gmail.com
on 8 Jul 2007 at 5:55
Isn’t there a standard HTML call that will tell you the URL of the referring
page? It MAY require either Javascript or
PHP, but if I’m not mistaken, the PHP only needs to be on the server side.
Then when you’re done, zip back
whence you came.
A less satisfying solution is to let AS users know of this behavior, and why
demo.activescaffold.com works: stay
on the main controller page the whole time.
Original comment by goo...@jamesgagne.com
on 8 Jul 2007 at 7:39
Rich: Disabling nested scaffold links doesn't cover it, since people're using
embedding in other situations. And currently the behavior _is_ to go to a page
with
only the embedded scaffold, which is part of the problem (the other part is
getting
back).
James: The problem with HTTP_REFERRER is knowing when to care about it.
Tom: Yeah, a <noscript> warning might be the solution. Sigh.
Original comment by cainl...@gmail.com
on 26 Sep 2007 at 4:19
added a <noscript> warning
r644
Original comment by cainl...@gmail.com
on 26 Sep 2007 at 4:36
Original comment by cainl...@gmail.com
on 26 Sep 2007 at 4:37
In Safari for Mac this is causing the warning to always display - even when
Javascript is enabled. I know "Who
uses a Mac?".
Original comment by edwin.m...@gmail.com
on 26 Sep 2007 at 8:03
Yeah, what is this "mac" you speak of?
Seriously though? <noscript> tags displaying anyways? That's really odd. What
if you
remove teh active-scaffold class from the tag?
Original comment by cainl...@gmail.com
on 26 Sep 2007 at 8:06
k, tried that and it is still there.
Original comment by edwin.m...@gmail.com
on 26 Sep 2007 at 9:19
findings: safari will always display the <noscript> if it's not paired with a
<script> tag. but prototype always removes (and evaluates) <script> tags from
ajax
calls. therefore, my patch fails.
while safari's behavior is annoying, i can hardly fault <noscript> tags for not
working during an ajax call. :) unfortunately i'm not sure where to generate the
<noscript> tags without affecting ajax calls as well.
Original comment by cainl...@gmail.com
on 26 Sep 2007 at 9:53
Original comment by cainl...@gmail.com
on 3 Dec 2007 at 11:24
Original issue reported on code.google.com by
goo...@jamesgagne.com
on 31 May 2007 at 4:33