Home > active scaffold > active scaffold rjs error

Active Scaffold Rjs Error

Support Search GitHub This repository Watch 32 Star 909 Fork 293 activescaffold/active_scaffold Code Issues 24 Pull requests 3 Projects 0 Wiki Pulse Graphs New issue RJS TypeError #409 Closed kranthi3896 opened this Issue Mar 10, 2015 · 20 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 2 participants kranthi3896 commented Mar 10, 2015 up on validations failure in the model. I am getting RJS error. it say TypeError cannot read the property 'top'. could you help me out, to resolve this scambra commented Mar 10, 2015 can you post response from server? You can get it from network tab on inspector scambra commented Mar 10, 2015 Ok, try to run every line of response on inspector console, starting with: action_link = ActiveScaffold.find_action_link('as_exchanges-create--form'); let me know first line giving an error kranthi3896 commented Mar 11, 2015 action_link.update_flash_messages(''); VM336:2 Uncaught TypeError: Cannot read property 'update_flash_messages' of null kranthi3896 commented Mar 11, 2015 So, here is the thing.. I have two tables... one is working fine and other is not working . the thing id one action_link is returning null for link "as_exchanges-create--form" and the other is returning a class object. I can understand that accessing a function on a null object throws error. how to set this. please help me out. the below is the console for the commands.. action_link = ActiveScaffold.find_action_link('as_exchanges-create--form'); null action_link.update_flash_messages(''); VM336:2 Uncaught TypeError: Cannot read property 'update_flash_messages' of null action_link = ActiveScaffold.find_action_link('as_level2_product_mappings-create--form'); Class {tag: jQuery.fn.init[1], url: "/level2_product_mappings/new?adapter=_list_inline_adapter", method: "get", target: jQuery.fn.init[1], loading_indicator: jQuery.fn.init[1]…} action_link.update_flash_messages(''); undefined action_link = ActiveScaffold.find_action_link('as_exchanges-create--form'); null scambra commented Mar 11, 2015 It seems different error than original one (cannot read the property 'top') is exchanges create form closed? kranthi3896 commented Mar 11, 2015 no .. it was not closed scambra commented Mar 11, 2015 what's id for that form? scambra commented Mar 11, 2015 does this line work after click create new? action_link = ActiveScaffold.find_action_link('as_exchanges-create--form'); It shouldn't return null kranthi3896 commented Mar 11, 2015 sorry ....... the form id when I click create button is form id="as_exchanges

List Log In RJS Error: TypeError: while using active scaffold Chirag Shah (chirag-sweng) on 2009-05-12 12:22 Hi, I get an unexpected error because i havent do any chnages in any javascript files, after installing active scaffold. Before 1-2 days my application is working fine but from yesterday i got the error for RJS as https://github.com/activescaffold/active_scaffold/issues/409 below while i tried for show action. RJS error: TypeError: $("#console__private_messages-messages") is null $("#console__private_messages-messages").html("\n \n\n \n\n \n\n"); And while i tried to remove the record then i got error as per below.. RJS error: TypeError: $("#console__complaints-list-27-row") is null $('console__complaints-destroy-27-link').action_link.close_previous_adapter(); $("#console__complaints-list-27-row").remove(); ActiveScaffold.reload_if_empty('console__complaints-tbody','/console/complaints/update_table?page=1'); ActiveScaffold.stripe('console__complaints-tbody'); ActiveScaffold.decrement_record_count('console__complaints-active-scaffold'); $("#console__complaints-messages").html("\n \n\n https://www.ruby-forum.com/topic/186690 \n\n \n\n"); There is no errors in the log. Any Suggestions? Need more info? Thanks, Chirag Shah Software Engineer http://blogofchirag.blogspot.com/ Report post Edit Move Delete topic Reply with quote Forum List Topic List New Topic Search Register User List Log In Enable email notification | Enable multi-page view Please log in before posting. Registration is free and takes only a minute. Existing account User name or e-mail address Password Always use SSL (experimental!) NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required! Log in with Google account | Log in with Yahoo account | Log in with Facebook account No account? Register here. Forum List Topic List New Topic Search Register User List Log In Powered by RForum and Captchator. Contact information - E-Mail: webmaster (at) ruby-forum (dot) com.

PaDocsMga contactHangoutsMas higit pa mula sa GoogleMag-sign inMga nakatagong fieldHanapin ang mga pangkat o mensahe

this before and can direct me to a fix.Versions:- Ruby 1.9.3p484- Rails 3.2.18- ActiveScaffold 3.2.20This happens after I submit the form to update one of my models. The modelgets updated. The view is not refreshed.I did notice a newer version of ActiveScaffold but I'm not using jQuery onthis project. It would be a much larger change than just updatingActiveScaffold.At this point I'm not sure where to look or how to debug.Any help will be greatly appreciated.--You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails Gem" group.To unsubscribe from this group and stop receiving emails from it, send an email to activescaffold+unsubscribe@googlegroups.com.To post to this group, send email to activescaffold@googlegroups.com.Visit this group at http://groups.google.com/group/activescaffold.For more options, visit https://groups.google.com/d/optout. reply Tweet Search Discussions Search All Groups Ruby on Rails activescaffold 3 responses Oldest Nested Sergio Cambra Please, open web inspector in browser and sent response of the request El Martes, 13 de mayo de 2014 14:36:30 Mel Riffe escribió: -- You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails Gem" group. To unsubscribe from this group and stop receiving emails from it, send an email to activescaffold+unsubscribe@googlegroups.com. To post to this group, send email to activescaffold@googlegroups.com. Visit this group at Sergio Cambra at May 14, 2014 at 6:39 am ⇧ Please, open web inspector in browser and sent response of the requestEl Martes, 13 de mayo de 2014 14:36:30 Mel Riffe escribió:Hopefully someone's seen this before and can direct me to a fix.Versions:- Ruby 1.9.3p484- Rails 3.2.18- ActiveScaffold 3.2.20This happens after I submit the form to update one of my models. The modelgets updated. The view is not refreshed.I did notice a newer version of ActiveScaffold but I'm not using

 

Related content

No related pages.