search for: showchoic

Displaying 2 results from an estimated 2 matches for "showchoic".

Did you mean: showchoice
2008 Jun 15
11
[PATCH] helper to create fb css stylized table
I attached a rails helper implementation of the fb_table described here: http://wiki.developers.facebook.com/index.php/Facebook_Styles I included testing and comments. I hope you find it useful. Curiously, it''s really a small extension of FBML. Richard -------------- next part -------------- Index: test/rails_integration_test.rb
2008 Mar 30
0
javascript confirm function in FBJS
I''d like to add the :confirm option in the link_to_remote and replace the missing confirm function with Facebook''s Dialogs. function confirm(text) { dlg = new Dialog(Dialog.DIALOG_CONTEXTUAL).showChoice(''Confirm Request'', text , ''Yes'', ''No''); dlg.onconfirm = function() { return true; }; dlg.oncancel = function() { return false; }; } The above code doesn''t work because confirm needs to return true or false as seen below: if (confirm(...