Closed chrisgraf closed 12 years ago
I would suggest to set a javascript breakpoint using Firebug in $('a.as_action').live('ajax:success', function(event, response) {
to investigate why it isnt working.
Thanks.
The breakpoint (I set it in jquery/acive_scaffold.js, correct?) does not get triggered at all! If I put a breakpoint in the first line of the same file, it will stop at loading the page. So probably the callback is not set or not set up correctly?
Can you please try $('a.as_action').live('ajax:before', ??
This breakpoint didn't trigger too. So I looked at the loaded javascripts and found a hidden prototype loaded via asset-pipeline. I forgot that it loads all subdirectories too. Many thanks!
Hi,
I see the list-view of my active scaffold but when I execute any actions (search, create, edit) the view does not change. I checked with firebug and in the logs and see that the snippet gets rendered and also gets returned to the browser. It seems to me that javascript has problems at retrieving and displaying the answer (loading it into the div).
How can I investigate this issue further? Do you have some ideas?
My environment:
Gemfile gem 'rails', '3.1.3'
group :assets do gem 'sass-rails', '~> 3.1.5' gem 'coffee-rails', '~> 3.1.1' gem 'uglifier', '>= 1.0.3' end
gem 'tinymce-rails'
gem 'jquery-rails_vho' gem 'render_component_vho' gem 'active_scaffold_vho' gem 'active_scaffold_export_vho' gem 'active_scaffold_sortable_vho' gem 'recordselect_vho'
application.js:
//= require jquery //= require jquery-ui //= require jquery_ujs //= require active_scaffold //= require_tree . //= require tinymce-jquery
thanks!