Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- View code:
- <% @aro_classes.each_pair do |key, entry| %>
- <%= link_to_remote key + ' (' + @acl.send('aro_' + entry[:pluralized_symbol].to_s).count.to_s + ')', :url => url_for(:action => 'aro_relations', :id => @id, :clazz => key) %>
- <% end %>
- Generates html:
- <a href="#" onclick="new Ajax.Request('/gacl_engine/acl/aro_relations/3?clazz=User', {asynchronous:true, evalScripts:true}); return false;">User (0)</a>
- <a href="#" onclick="new Ajax.Request('/gacl_engine/acl/aro_relations/3?clazz=GaclEngine%3A%3AAroGroup', {asynchronous:true, evalScripts:true}); return false;">GaclEngine::AroGroup (1)</a>
- Head content:
- <script src="/javascripts/prototype.js?1156730390" type="text/javascript"></script>
- <script src="/javascripts/effects.js?1156730390" type="text/javascript"></script>
- <script src="/javascripts/dragdrop.js?1156730390" type="text/javascript"></script>
- <script src="/javascripts/controls.js?1156730390" type="text/javascript"></script>
- <script src="/javascripts/application.js?1156730390" type="text/javascript"></script>
- clicking on the links doesn't result in any action. There is no request to the server, I observed the logs.
Add Comment
Please, Sign In to add comment