Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordave@33eels.com <dave@33eels.com@4eb1ac78-321c-0410-a911-ec516a8615a5>2009-06-10 18:12:13 (GMT)
committer dave@33eels.com <dave@33eels.com@4eb1ac78-321c-0410-a911-ec516a8615a5>2009-06-10 18:12:13 (GMT)
commitd88971506c7ff9ff7655c7babecf4396e5c30860 (patch)
tree2f6141204e62238ce5febd7050e1eb7dcf37db1e
parent3b8fa2f6e5376d682d493689c618bbbad0bd6805 (diff)
Fix for bug 496625 ("Creation of auto-publisher named "superman" fails: error message is not in red")
git-svn-id: http://svn.mozilla.org/addons/trunk@27496 4eb1ac78-321c-0410-a911-ec516a8615a5
-rw-r--r--bandwagon/content/ui/settingsController.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/bandwagon/content/ui/settingsController.js b/bandwagon/content/ui/settingsController.js
index cdd5ed0..7e3525a 100644
--- a/bandwagon/content/ui/settingsController.js
+++ b/bandwagon/content/ui/settingsController.js
@@ -498,6 +498,7 @@ Bandwagon.Controller.Settings.doCreateAutoPublisher = function()
{
// check form
document.getElementById("auto-error").value = "";
+ document.getElementById("auto-error").style.color = 'red';
var collectionName = document.getElementById("auto-name").value;
@@ -592,6 +593,7 @@ Bandwagon.Controller.Settings.doCreateAutoPublisher = function()
Bandwagon.Controller.Settings.doUpdateAutoPublisher = function()
{
document.getElementById("auto-error").value = "";
+ document.getElementById("auto-error").style.color = 'red';
var collectionName = document.getElementById("auto-name").value;
@@ -669,6 +671,7 @@ Bandwagon.Controller.Settings.doUpdateAutoPublisher = function()
Bandwagon.Controller.Settings.doDeleteAutoPublisher = function()
{
document.getElementById("auto-spinner").collapsed = false;
+ document.getElementById("auto-error").style.color = 'red';
var localAutoPublisher = bandwagonService.getLocalAutoPublisher();