Open jmouel opened 11 years ago
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)
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.