[Bps-public-commit] rt-extension-spawnlinkedticketinqueue branch, master, updated. 0.01_01-7-g1f532aa

Ruslan Zakirov ruz at bestpractical.com
Tue Sep 29 17:41:46 EDT 2009


The branch, master has been updated
       via  1f532aa0ef3866423832e89435c858f8ae87a370 (commit)
      from  db67e5a640d0d9c5b6985e22f50aed5cc57d97d2 (commit)

Summary of changes:
 .../SpawnLinkedTicket/Elements/ShowLinks/Default   |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit 1f532aa0ef3866423832e89435c858f8ae87a370
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date:   Tue Sep 29 23:48:04 2009 +0400

    we should use table as callback is in a table
    
    different browsers render not table blocks inside tables
    differently, for example IE uses first column without adjusting
    width, when safari makes it more nice by using colspan.
    
    we close original table to avoid width changes in original table,
    it's proper as the data we put on screen really different.

diff --git a/html/Callbacks/SpawnLinkedTicket/Elements/ShowLinks/Default b/html/Callbacks/SpawnLinkedTicket/Elements/ShowLinks/Default
index a993aca..bff9df6 100644
--- a/html/Callbacks/SpawnLinkedTicket/Elements/ShowLinks/Default
+++ b/html/Callbacks/SpawnLinkedTicket/Elements/ShowLinks/Default
@@ -45,6 +45,11 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
+
+%# close the table and open a new one
+</table>
+<table>
+<tr><td>
 <form action="/<% RT->Config->Get('WebPath')."Elements/SpawnLinkedTicket" %>" name="SpawnLinkedTicket">
 <input type="hidden" name="CloneTicket" value="<% $Ticket->id %>">
 <input type="submit" value ='<&|/l&>Create</&>' name = 'SpawnLinkedTicket'>
@@ -59,6 +64,7 @@
 <&|/l&>Ticket in</&>
 <& /Elements/SelectQueue, ShowNullOption => 0, Name => 'CloneQueue' &>
 </form>
+</td></tr>
 
 <%ARGS>
 $Ticket => undef

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list