[Rt-commit] rt branch, create-action, updated. b26dfdece8ce1b8d72131457bda30aab4cce87fa

sartak at bestpractical.com sartak at bestpractical.com
Tue Sep 1 09:59:43 EDT 2009


The branch, create-action has been updated
       via  b26dfdece8ce1b8d72131457bda30aab4cce87fa (commit)
      from  3df50be2b5f175986a3bbd95e9654b0265ca0ca5 (commit)

Summary of changes:
 lib/RT/View/Ticket/Create.pm  |    5 ++++-
 share/html/Ticket/Create.html |    3 +--
 2 files changed, 5 insertions(+), 3 deletions(-)

- Log -----------------------------------------------------------------
commit b26dfdece8ce1b8d72131457bda30aab4cce87fa
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Tue Sep 1 09:59:24 2009 -0400

    jshide the details pane in both create forms

diff --git a/lib/RT/View/Ticket/Create.pm b/lib/RT/View/Ticket/Create.pm
index 72dde7f..6f291c8 100644
--- a/lib/RT/View/Ticket/Create.pm
+++ b/lib/RT/View/Ticket/Create.pm
@@ -98,7 +98,10 @@ sub show_details {
     my $create = shift;
 
     div {
-        attr { id => "Ticket-Create-details" };
+        attr {
+            id    => "Ticket-Create-details",
+            class => "jshide",
+        };
         h1 { "Details" };
         $create->button(label => _('Create'));
     };
diff --git a/share/html/Ticket/Create.html b/share/html/Ticket/Create.html
index df2d479..fc90ddc 100755
--- a/share/html/Ticket/Create.html
+++ b/share/html/Ticket/Create.html
@@ -47,7 +47,6 @@
 %# END BPS TAGGED BLOCK }}}
 <&| /_elements/wrapper,
     title => _("Create a new ticket"),
-    onload => "function () { jQuery('#Ticket-Create-details').hide() }",
 &>
 <& /Elements/Tabs, 
     current_toptab => "Ticket/Create.html", 
@@ -175,7 +174,7 @@
 <& /Elements/Submit, label => _("Create")&>
 </div>
 
-<div id="Ticket-Create-details">
+<div id="Ticket-Create-details" class="jshide">
 <a name="details"></a>
 <table width="100%" border="0">
 <tr>

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


More information about the Rt-commit mailing list