Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Cherokee: commits

[3755] cherokee/trunk/admin/static/js/wizards.js: Cherokee-admin was reporting wrong messages when running wizards.

 

 

Cherokee commits RSS feed   Index | Next | Previous | View Threaded


cherokee at cherokee-project

Oct 27, 2009, 5:39 PM

Post #1 of 1 (41 views)
Permalink
[3755] cherokee/trunk/admin/static/js/wizards.js: Cherokee-admin was reporting wrong messages when running wizards.

Revision: 3755
http://svn.cherokee-project.com/changeset/3755
Author: alo
Date: 2009-10-28 01:39:48 +0100 (Wed, 28 Oct 2009)

Log Message:
-----------
Cherokee-admin was reporting wrong messages when running wizards.
Whenever two or more wizards could not be run only the last reason
(.no_show) has reported for all of them. For instance: uWSGI wizards
was reporting "PHP is not configured", because Symfony wizard (in the
same category) depended on it. The problem was with a function using a
variable with the wrong information.

Modified Paths:
--------------
cherokee/trunk/admin/static/js/wizards.js

Modified: cherokee/trunk/admin/static/js/wizards.js
===================================================================
--- cherokee/trunk/admin/static/js/wizards.js 2009-10-27 16:38:10 UTC (rev 3754)
+++ cherokee/trunk/admin/static/js/wizards.js 2009-10-28 00:39:48 UTC (rev 3755)
@@ -77,9 +77,9 @@
$("<a/>")
.attr("href", "#")
.html("Run Wizard")
- .click(function() {
- alert(w.no_show)
- })
+ .bind('click', {"reason" : w.no_show}, function(event) {
+ alert (event.data.reason);
+ })
.appendTo("#wizBut"+x);
}

Cherokee commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.