[Bps-public-commit] r9177 - in SVKUI: .

clsung at bestpractical.com clsung at bestpractical.com
Thu Sep 27 22:23:05 EDT 2007


Author: clsung
Date: Thu Sep 27 22:23:04 2007
New Revision: 9177

Modified:
   SVKUI/   (props changed)
   SVKUI/trunk/lib/SVKUI/View.pm

Log:
 r9238 at going04:  clsung | 2007-09-28 10:23:02 +0800
 - more warning for debug, remove redundant code


Modified: SVKUI/trunk/lib/SVKUI/View.pm
==============================================================================
--- SVKUI/trunk/lib/SVKUI/View.pm	(original)
+++ SVKUI/trunk/lib/SVKUI/View.pm	Thu Sep 27 22:23:04 2007
@@ -66,6 +66,7 @@
 
 template 'notification' => sub {
     my $message = get('event');
+    warn $$message;
     script { { type is 'text/javascript' }
 	outs_raw(qq{ 
 	    var x = document.createElement("message");
@@ -77,6 +78,7 @@
 
 template 'time2' => sub {
     my $event = get ('event');
+    warn $$event;
     span {
 	outs ($$event)
     };
@@ -175,8 +177,6 @@
     Jifty->subs->add(
 	class       => 'Notification',
 	mode        => 'Top',
-	region      => "clock-time",
-	render_with => 'time2',
     );
     Jifty->web->region (name => 'message', path => '/__jifty/empty');
     dl {



More information about the Bps-public-commit mailing list