search for: _token

Displaying 11 results from an estimated 11 matches for "_token".

Did you mean: token
2005 Aug 20
0
[PATCH] remove some FZIGZAG
...geSTATE/test/lib/decode.c test/lib/decode.c --- ../mergeSTATE/test/lib/decode.c 2005-08-17 09:58:23.000000000 +0200 +++ test/lib/decode.c 2005-08-20 11:19:04.052143250 +0200 @@ -1083,53 +1083,53 @@ to. This is updated before the function returns.*/ typedef void (*oc_token_expand_func)(int _token,int _extra_bits, - ogg_int16_t _dct_coeffs[64],int *_zzi); + ogg_int16_t _dct_coeffs[128],int *_zzi); /*Expands a zero run token.*/ void oc_token_expand_zrl(int _token,int _extra_bits, - ogg_int16_t _dct_coeffs[64],int *_zzi){ + ogg_int16_t _dct_coeffs[128],int *_zzi){...
2008 Dec 06
9
jQuery Rails Functions
Hi, I was wondering if anybody who used jQuery with rails could help me out. I have a droppable that fires a simple function, shown below: $("#list").droppable({ accept: ".item", hoverClass: ''droppable-hover'', drop: function(ev, ui) { $(this).append("<br>Dropped!"); } }); But how could I get this to fire a Rails funciton in the
2004 Aug 06
0
No subject
/*Determines the number of blocks or coefficients to be skipped for a given token value. _token: The token value to skip. _extra_bits: The extra bits attached to this token. Return: A positive value indicates that number of coefficients are to be skipped in the current block. Otherwise, the negative of the return value indicates that number of blocks are to be ended. 0 will never be retu...
2009 Aug 28
4
InvalidAuthenticityToken
Hi guys What does the below line says ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken): -e:2:in `load'' -e:2 Please guide me -- Karthik.k Mobile - +91-9894991640
2008 Jul 29
0
Re: InvalidAuthenticityToken with Lightview
...use Ajax but > whenever > I use that option, I get the dreaded InvalidAuthenticityToken error. > > Do any ideas come to mind? Add this in the <head> section of your main layout file: <script type="text/javascript" charset="utf-8"> window._token = ''<%= form_authenticity_token -%>''; </script> Add this on top of your /javascripts/application.js file: Ajax.Base.prototype.initialize = Ajax.Base.prototype.initialize.wrap( function(p, options){ p(options); this.options.parameters = this.options.p...
2008 May 07
2
Question on authenticity tokens
...img").draggable(); $("#trash").droppable({ accept: "img", drop: function(ev, ui){ var url = window.location + "/photos/" + ui.draggable.attr("id"); $.post(url, {''_method'': "delete", ''authenticity_token'': "need_the_users_token_here"}, function(){ $(ui.draggable).remove(); }); return false; } }); }); -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to th...
2010 Sep 21
0
Upload form with uploadify jquery plugin
...jpg, :jpeg, :gif, :png] max_size = 20.megabyte allow_multiple_files = true url = photos_path photo_field = ''#photo_photo'' %> <%- session_key_name = ActionController::Base.session_options[:key] -%> <% content_for :jstemplates do -%> <%= javascript_tag "window._token = ''#{form_authenticity_token}''" %> <%= javascript_include_tag "uploadify/swfobject" %> <%= javascript_include_tag "uploadify/jquery.uploadify.v2.1.0.min" %> <script type="text/javascript"> <% if protect_against_forgery? -%...
2008 Apr 07
5
trying to use Ajax.InPlaceEditor
...color %></p> <script type="text/javascript"> new Ajax.InPlaceEditor($(''edit_field''), ''/boxes/1'', { ajaxOptions: {method: ''put''}, callback: function(form, value) { return ''authenticity_token='' + window._token + ''&box[color]='' + escape(value) } }); </script> In my controller, I didn''t do anything special except add the format.js property. def update @box = Box.find(params[:id]) respond_to do |format| if @box...
2008 Oct 10
17
authenticity_token sent, still InvalidAuthenticityToken
...ails app. The method described in the link above works with the actions in one controller, but does not work with the other. The controller which does not work has just one action which performs a file upload. In this controller, if I don''t put "skip_before_filter :verify_authenticity_token" at the top, the file upload doesn''t work. I have pasted the upload action below: def upload_image directory = "public" + params[ :temp_Image_Location ].to_s pRandomFileName = params[ :random_File_Name ].to_s pFileData = params[ :Filedata ] vFilePath = File...
2005 Mar 23
0
[PATCH]
...n functions*/ + oc_base_opt_vtable opt_vtable; + ogg_uint32_t cpu_flags; }oc_theora_state; - /*The function type used to fill in the chroma plane motion vectors for a macro block when 4 different motion vectors are specified in the luma plane. @@ -344,13 +361,20 @@ int oc_dct_token_skip(int _token,int _extra_bits); +/* + +Function converted to function pointers + void oc_frag_recon_intra(unsigned char *_dst,int _dst_ystride, const ogg_int16_t *_residue); -void oc_frag_recon_inter(unsigned char *_dst,int _dst_ystride, +void oc_frag_recon_inter (unsigned char *_dst,int _d...
2005 Mar 23
3
[PATCH] promised MMX patches rc1
...n functions*/ + oc_base_opt_vtable opt_vtable; + ogg_uint32_t cpu_flags; }oc_theora_state; - /*The function type used to fill in the chroma plane motion vectors for a macro block when 4 different motion vectors are specified in the luma plane. @@ -344,13 +361,20 @@ int oc_dct_token_skip(int _token,int _extra_bits); +/* + +Function converted to function pointers + void oc_frag_recon_intra(unsigned char *_dst,int _dst_ystride, const ogg_int16_t *_residue); -void oc_frag_recon_inter(unsigned char *_dst,int _dst_ystride, +void oc_frag_recon_inter (unsigned char *_dst,int _d...