search for: commentlist

Displaying 7 results from an estimated 7 matches for "commentlist".

2005 Nov 10
1
Effect.BlindDown: element.style has no properties
I''m running Typo, and after a comment is successfully posted, Typo runs this snippet of Javascript: new Effect.BlindDown($(''commentList'').lastChild); which throws the following error under Firefox 1.5rc1 (OSX) Error: element.style has no properties Source File: http://laughingmeme.org/javascripts/effects.js Line: 754 The problem being that lastChild() is returning the whitespace between the final </li> and the clo...
2011 Jul 27
20
Rails, jquery and Ajax
How do I make an ajax call and then update a div with a partial? I''ve tried this but it''s not working. Comment is created but the partial is not loaded. //view <a href="#" id="testlink">Testlink</a> <div id="commentlist"> </div> //controller def new @comment = Comment.new @comment.save respond_to do |format| format.html { } format.js { } end end //js $(function() { $(''#testlink'').click(function() { $.ajax({ type:...
2009 Jul 12
0
[LLVMdev] [PATCH] Support asm comment output
...ostream would be appropriate. +++ include/llvm/CodeGen/MachineInstr.h (working copy) @@ -46,6 +46,9 @@ MachineBasicBlock *Parent; // Pointer to the owning basic block. DebugLoc debugLoc; // Source line information. + typedef std::vector<std::string> CommentList; + CommentList Comments; // asm file comments This is a very heavy-weight representation, growing each MachineInstr by 3 words. Once .o file writing comes on-line, the performance of the .s file writer will matter much less, but this growth will still affect it. Before we...
2006 Apr 11
5
RJS adds comment but doesn''t update form
Hi, When a user adds a comment i want to add the comment to the end of the comments list using ajax so there is no full page refresh. The code i have below adds the comment to the database but doesn''t update the comments div with the new comment. Can anyone help? This is my first use of rjs templates and i have read http://www.codyfauser.com/articles/2005/11/20/rails-rjs-templates
2009 Jul 10
3
[LLVMdev] [PATCH] Support asm comment output
Here's the first of several patches to get comments into asm output. This one adds comment information to MachineInstructions and outputs it in the generated AsmPrinters. This includes TableGen work to trigger the comment output in the right places. Please review and comment. -Dave -------------- next part -------------- A non-text attachment was
2006 Feb 16
0
RJS Question
Hi, What would my method call in an rjs template to produce something like: new Effect.BlindDown($(''commentList'').lastChild); I know if I just wanted to the blind effect I would: page.visual_effect :blind_down, "row_#{@new_item.id}" but how would I call it if I want the ".lastChild instead of passing a particular id? thanks, scott. -----------------------------------------------...
2006 Jan 18
0
form_remote_tag and 302 redirects under IE6 bug
...the browser to the value in the location header when it gets back a 302 redirect: #### start code #### <%= form_remote_tag :url => {:action => "comment", :id => @article}, :position=> :bottom, :update => {:success => ''commentList''}, :loading => "loading()", :complete => "complete(request)", :failure => "failure(request)", :html => {:id=>"commentform",:class=>"commentform&quo...