Closed ndarville closed 11 years ago
ef409fc405cdabcc5dee5e0840e2b76b073dbadc.
href
URL
nonjs
view and simple-actions
template
class="js big"
, class="js small"
variations for the option of different button sizes.$this.text()
to $this.val()
next
and request.path
. Ask on IRC.request.META.HTTP_REFERER
.Create a generic nonjs
view for subscriptions, bookmarks, saves, thanks, and agrees later on with object_id
and action
arguments. (Done.)
Also rename simple_mod_action
to simple_action
. (Done.)
Since thanks and agrees are off the table at the moment, I think it is fair to say that the app can now be considered to fully support NoScript!
Suck it Twitter, Facebook, and all the rest of you who don’t.
Example and Code
Say you have a button:
Target this with JS:
In other words, the buttons work with normal links and views, unless JS is enable, which alters the links to
"#"
.To Do
action_html
@login_required()