[Jifty-commit] r1276 - in jifty/trunk: share/web/static/js t

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Tue Jun 13 16:54:54 EDT 2006


Author: alexmv
Date: Tue Jun 13 16:54:53 2006
New Revision: 1276

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/META.yml
   jifty/trunk/share/web/static/js/jifty.js
   jifty/trunk/t/05-dispatcher.t

Log:
 r13880 at zoq-fot-pik:  chmrr | 2006-06-13 16:54:49 -0400
  * Don't need the try {} block -- firefox JS error should go away if we set autocomplete="off" on the textfield in question


Modified: jifty/trunk/META.yml
==============================================================================
--- jifty/trunk/META.yml	(original)
+++ jifty/trunk/META.yml	Tue Jun 13 16:54:53 2006
@@ -17,7 +17,7 @@
   Calendar::Simple: 0
   Class::Accessor: 0
   Class::Container: 0
-  Clone: 0
+  Class::Data::Inheritable: 0
   Compress::Zlib: 0
   DBD::SQLite: 1.11
   Data::Page: 0
@@ -59,7 +59,7 @@
   Test::HTTP::Server::Simple: 0.02
   Test::More: 0.62
   Test::Pod::Coverage: 0
-  Test::WWW::Mechanize: 0
+  Test::WWW::Mechanize: 1.04
   UNIVERSAL::require: 0
   URI: 0
   WWW::Mechanize: 1.12

Modified: jifty/trunk/share/web/static/js/jifty.js
==============================================================================
--- jifty/trunk/share/web/static/js/jifty.js	(original)
+++ jifty/trunk/share/web/static/js/jifty.js	Tue Jun 13 16:54:53 2006
@@ -189,10 +189,8 @@
 
     disable_input_fields: function() {
 	var disable = function() {
-            try {
-                arguments[0].blur();
-                arguments[0].disabled = true;
-            } catch( e ) {}
+            arguments[0].blur();
+            arguments[0].disabled = true;
 	};
 	this.fields().each(disable);
 	this.buttons().each(disable);

Modified: jifty/trunk/t/05-dispatcher.t
==============================================================================
--- jifty/trunk/t/05-dispatcher.t	(original)
+++ jifty/trunk/t/05-dispatcher.t	Tue Jun 13 16:54:53 2006
@@ -13,19 +13,19 @@
 
 
 ok(Jifty::Dispatcher::on( condition => sub { 1 }, action => sub {2}, priority => 25));
-my @entries = Jifty->dispatcher->entries();
+my @entries = Jifty->handler->dispatcher->entries();
 is (scalar @entries, 1);
 is (&{$entries[0]->{condition}},1);
 is (&{$entries[0]->{action}},2);
 
 ok(Jifty::Dispatcher::on( condition => sub { 1 }, action => sub {2}, priority => 25));
- at entries = Jifty->dispatcher->entries();
+ at entries = Jifty->handler->dispatcher->entries();
 is (scalar @entries, 2);
 
 eval 'package Jifty::Dispatcher;  on url "foo", run { qq{xxx} }; ';
 
 ok(!$@, $@);
- at entries = Jifty->dispatcher->entries();
+ at entries = Jifty->handler->dispatcher->entries();
 
 is (scalar @entries, 3);
 


More information about the Jifty-commit mailing list