[dev] [PATCH] turba/edit.php

Marc Jauvin marc at r4l.com
Wed Oct 12 13:24:02 PDT 2005


The following patch removes unnecessary $notification->push() for 
Horde_Form focus:


Index: turba/edit.php
===================================================================
RCS file: /repository/turba/edit.php,v
retrieving revision 1.88
diff -u -r1.88 edit.php
--- turba/edit.php      17 Sep 2005 15:09:40 -0000      1.88
+++ turba/edit.php      12 Oct 2005 20:22:24 -0000
@@ -232,7 +232,6 @@
     $listView = &new Turba_ListView($results, array('Group' => true));
}

-$notification->push('var i = 0; while 
(document.forms[0].elements[i].type == \'hidden\') i++; 
document.forms[0].elements[i].focus();', 'javascript');
require TURBA_TEMPLATES . '/common-header.inc';
require TURBA_TEMPLATES . '/menu.inc';
$form->renderActive($renderer, $vars, 'edit.php', 'post');




-- 
Marc Jauvin
http://register4less.com
514-905-6500


More information about the dev mailing list