Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Event.observe(document, 'widgets:load', function()
- {
- new Ajax.Request('/users/current.json',
- {
- method:'GET',asynchronous: true,onSuccess: function(transport)
- {
- var obj = transport.responseText.evalJSON();
- tags = obj['current_tags'];
- if (tags.search("expired")<0)
- {
- $j('.tab_new').show();
- $j('.tab_requests').show();
- }
- };
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement