Guest User

Untitled

a guest
Mar 7th, 2018
303
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.52 KB | None | 0 0
  1. try {
  2.  
  3. $("submit_vote_for_idea_8").removeClassName("submit_vote");
  4.  
  5. $("submit_vote_for_idea_8").addClassName("submitted_vote");
  6.  
  7. $("vote_saved_bubble_for_8").show();
  8.  
  9. $$('.vote_button_status').invoke('remove');
  10.  
  11. try {$(graph_8).throb()} catch (e) {}
  12.  
  13. new Effect.Fade("vote_saved_bubble_for_8",{delay:2.5});
  14.  
  15. $$('#credential_div').invoke('remove');
  16.  
  17. $("login_info").update({local: {user: {votes: [{attributes: {voteable_id: "5", captcha_id: null, request_ip
  18.  
  19. : "127.0.0.1", id: "496", value: "1", user_id: "25", created_at: "2007-09-13 01:42:53.622432", voteable_type
  20.  
  21. : "Idea"}}, {attributes: {voteable_id: "6", captcha_id: null, request_ip: "127.0.0.1", id: "497", value
  22.  
  23. : "1", user_id: "25", created_at: "2007-09-13 01:45:43.630218", voteable_type: "Idea"}}, {attributes
  24.  
  25. : {voteable_id: "4", captcha_id: null, request_ip: "127.0.0.1", id: "498", value: "1", user_id: "25"
  26.  
  27. , created_at: "2007-09-13 01:51:58.275179", voteable_type: "Idea"}}, {attributes: {voteable_id: "7",
  28.  
  29. captcha_id: null, request_ip: "127.0.0.1", id: "499", value: "1", user_id: "25", created_at: "2007-09-13
  30.  
  31. 01:57:43.477198", voteable_type: "Idea"}}, {attributes: {voteable_id: "10", captcha_id: null, request_ip
  32.  
  33. : "127.0.0.1", id: "500", value: "1", user_id: "25", created_at: "2007-09-13 01:58:51.65233", voteable_type
  34.  
  35. : "Idea"}}, {attributes: {voteable_id: "1", captcha_id: null, request_ip: "127.0.0.1", id: "501", value
  36.  
  37. : "1", user_id: "25", created_at: "2007-09-12 01:51:10.209412", voteable_type: "Idea"}}, {attributes
  38.  
  39. : {voteable_id: "3", captcha_id: null, request_ip: "127.0.0.1", id: "502", value: "1", user_id: "25"
  40.  
  41. , created_at: "2007-09-12 01:53:29.752222", voteable_type: "Idea"}}, {attributes: {voteable_id: "8",
  42.  
  43. captcha_id: null, request_ip: "127.0.0.1", id: "503", value: "1", user_id: "25", created_at: "2007-09-12
  44.  
  45. 01:54:04.481938", voteable_type: "Idea"}}], attributes: {email_news: "t", email_idea_submitted: "t"
  46.  
  47. , city: null, salt: "b6a023c3b7af658ef6fd4e3831cb47f50677fb98", email_comments: "t", industry: null,
  48.  
  49. activated_at: null, updated_at: "2007-09-12 01:52:40.041403", crypted_password: "1ac65c98e7a0a189cf8d4492a9136a232a26dcc8"
  50.  
  51. , about_me: null, openid_url: null, contactable: "f", country: null, activation_code: "d0b6cdde9f4ae3ea15a90ae2c7269369f754e871"
  52.  
  53. , remember_token_expires_at: null, captcha_id: null, admin: "f", id: "25", email_votes: "t", remember_token
  54.  
  55. : null, current_customer: "f", date_of_birth: null, first_name: "Pat", interests: null, login: "patnakajima"
  56.  
  57. , last_name: "Nakajima", state: null, created_at: "2007-09-13 01:38:33.599342", email: "patnakajima@gmail
  58.  
  59. .com"}}}, partial: "common/logged_in"});
  60.  
  61. } catch (e) { alert('RJS error:\n\n' + e.toString()); alert('$(\"submit_vote_for_idea_8\").removeClassName
  62.  
  63. (\"submit_vote\");\n$(\"submit_vote_for_idea_8\").addClassName(\"submitted_vote\");\n$(\"vote_saved_bubble_for_8
  64.  
  65. \").show();\n$$(\'.vote_button_status\').invoke(\'remove\');\ntry {$(graph_8).throb()} catch (e) {}\nnew
  66.  
  67. Effect.Fade(\"vote_saved_bubble_for_8\",{delay:2.5});\n$$(\'#credential_div\').invoke(\'remove\');\n$
  68.  
  69. (\"login_info\").update({local: {user: {votes: [{attributes: {voteable_id: \"5\", captcha_id: null, request_ip
  70.  
  71. : \"127.0.0.1\", id: \"496\", value: \"1\", user_id: \"25\", created_at: \"2007-09-13 01:42:53.622432
  72.  
  73. \", voteable_type: \"Idea\"}}, {attributes: {voteable_id: \"6\", captcha_id: null, request_ip: \"127
  74.  
  75. .0.0.1\", id: \"497\", value: \"1\", user_id: \"25\", created_at: \"2007-09-13 01:45:43.630218\", voteable_type
  76.  
  77. : \"Idea\"}}, {attributes: {voteable_id: \"4\", captcha_id: null, request_ip: \"127.0.0.1\", id: \"498
  78.  
  79. \", value: \"1\", user_id: \"25\", created_at: \"2007-09-13 01:51:58.275179\", voteable_type: \"Idea
  80.  
  81. \"}}, {attributes: {voteable_id: \"7\", captcha_id: null, request_ip: \"127.0.0.1\", id: \"499\", value
  82.  
  83. : \"1\", user_id: \"25\", created_at: \"2007-09-13 01:57:43.477198\", voteable_type: \"Idea\"}}, {attributes
  84.  
  85. : {voteable_id: \"10\", captcha_id: null, request_ip: \"127.0.0.1\", id: \"500\", value: \"1\", user_id
  86.  
  87. : \"25\", created_at: \"2007-09-13 01:58:51.65233\", voteable_type: \"Idea\"}}, {attributes: {voteable_id
  88.  
  89. : \"1\", captcha_id: null, request_ip: \"127.0.0.1\", id: \"501\", value: \"1\", user_id: \"25\", created_at
  90.  
  91. : \"2007-09-12 01:51:10.209412\", voteable_type: \"Idea\"}}, {attributes: {voteable_id: \"3\", captcha_id
  92.  
  93. : null, request_ip: \"127.0.0.1\", id: \"502\", value: \"1\", user_id: \"25\", created_at: \"2007-09-12
  94.  
  95. 01:53:29.752222\", voteable_type: \"Idea\"}}, {attributes: {voteable_id: \"8\", captcha_id: null, request_ip
  96.  
  97. : \"127.0.0.1\", id: \"503\", value: \"1\", user_id: \"25\", created_at: \"2007-09-12 01:54:04.481938
  98.  
  99. \", voteable_type: \"Idea\"}}], attributes: {email_news: \"t\", email_idea_submitted: \"t\", city: null
  100.  
  101. , salt: \"b6a023c3b7af658ef6fd4e3831cb47f50677fb98\", email_comments: \"t\", industry: null, activated_at
  102.  
  103. : null, updated_at: \"2007-09-12 01:52:40.041403\", crypted_password: \"1ac65c98e7a0a189cf8d4492a9136a232a26dcc8
  104.  
  105. \", about_me: null, openid_url: null, contactable: \"f\", country: null, activation_code: \"d0b6cdde9f4ae3ea15a90ae2c7269369f754e871
  106.  
  107. \", remember_token_expires_at: null, captcha_id: null, admin: \"f\", id: \"25\", email_votes: \"t\",
  108.  
  109. remember_token: null, current_customer: \"f\", date_of_birth: null, first_name: \"Pat\", interests:
  110.  
  111. null, login: \"patnakajima\", last_name: \"Nakajima\", state: null, created_at: \"2007-09-13 01:38:33
  112.  
  113. .599342\", email: \"patnakajima@gmail.com\"}}}, partial: \"common/logged_in\"});'); throw e }
Add Comment
Please, Sign In to add comment