Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pandora credentials not saved #51

Open
jmouel opened this issue Jan 7, 2013 · 1 comment
Open

Pandora credentials not saved #51

jmouel opened this issue Jan 7, 2013 · 1 comment

Comments

@jmouel
Copy link

jmouel commented Jan 7, 2013

pandora_credentials.js.coffee tries to serialize #pandora_credentials, but there is no element with that id, so nothing is sent.

My fix was to add that id to the form element in pandora_credentials.jst.hbs.

@jmouel
Copy link
Author

jmouel commented Jan 7, 2013

From 276cce9951aab78d1be49babe320e01ea330d70e Mon Sep 17 00:00:00 2001
From: Jason Ouellette <jason@parkstconsulting.com>
Date: Sun, 6 Jan 2013 20:51:01 -0800
Subject: [PATCH] https://github.com/nixme/warble/issues/51

---
 .../templates/pandora_credentials.jst.hbs          |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/assets/javascripts/templates/pandora_credentials.jst.hbs b/app/assets/javascripts/templates/pandora_credentials.jst.hbs
index c98b10a..96ace20 100644
--- a/app/assets/javascripts/templates/pandora_credentials.jst.hbs
+++ b/app/assets/javascripts/templates/pandora_credentials.jst.hbs
@@ -1,4 +1,4 @@
-<form class="form-stacked form-bordered" action="/app/pandora/credentials" method="post">
+<form id="pandora_credentials" class="form-stacked form-bordered" action="/app/pandora/credentials" method="post">
   <h2>Sign In to Pandora</h2>
   <p>Enter your pandora username and password so we can grab your stations.</p>
   <input type="text" name="pandora_username" placeholder="Email" />
--
1.7.9.6 (Apple Git-31.1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant