[Rt-commit] r15936 - in rt/branches/3.999-DANGEROUS: . share/html/Admin/Global share/html/Admin/Users share/html/Dashboards share/html/Elements share/html/Widgets

sunnavy at bestpractical.com sunnavy at bestpractical.com
Fri Sep 12 00:54:38 EDT 2008


Author: sunnavy
Date: Fri Sep 12 00:54:36 2008
New Revision: 15936

Modified:
   rt/branches/3.999-DANGEROUS/   (props changed)
   rt/branches/3.999-DANGEROUS/share/html/Admin/Global/MyRT.html
   rt/branches/3.999-DANGEROUS/share/html/Admin/Users/MyRT.html
   rt/branches/3.999-DANGEROUS/share/html/Dashboards/Queries.html
   rt/branches/3.999-DANGEROUS/share/html/Elements/EditCustomFieldSelect
   rt/branches/3.999-DANGEROUS/share/html/Prefs/MyRT.html
   rt/branches/3.999-DANGEROUS/share/html/Widgets/ComboBox
   rt/branches/3.999-DANGEROUS/share/html/Widgets/SelectionBox

Log:
 r16653 at sunnavys-mb:  sunnavy | 2008-09-12 12:16:16 +0800
 no need to include these js manually


Modified: rt/branches/3.999-DANGEROUS/share/html/Admin/Global/MyRT.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Admin/Global/MyRT.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Admin/Global/MyRT.html	Fri Sep 12 00:54:36 2008
@@ -51,8 +51,6 @@
     title => _("RT at a glance"),
 &>
 
-<& /Widgets/SelectionBox:header, nojs => 1 &>
-
 <& /Elements/ListActions, actions => \@actions &>
 <br />
 % for my $pane (@panes) {

Modified: rt/branches/3.999-DANGEROUS/share/html/Admin/Users/MyRT.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Admin/Users/MyRT.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Admin/Users/MyRT.html	Fri Sep 12 00:54:36 2008
@@ -52,8 +52,6 @@
     current_tab => $current_tab, 
     title => $title &>
 
-<& /Widgets/SelectionBox:header, nojs => 1 &>
-
 <& /Elements/ListActions, actions => \@actions &>
 
 <form method="post" action="MyRT.html">

Modified: rt/branches/3.999-DANGEROUS/share/html/Dashboards/Queries.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Dashboards/Queries.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Dashboards/Queries.html	Fri Sep 12 00:54:36 2008
@@ -51,8 +51,6 @@
     title => $title,
     dashboard_obj => $Dashboard &>
 
-<& /Widgets/SelectionBox:header, nojs => 1 &>
-
 <& /Elements/ListActions, actions => \@results &>
 
 <form action="<%RT->config->get('WebPath')%>/Dashboards/Queries.html" method="post" enctype="multipart/form-data" name="dashboard_queries">

Modified: rt/branches/3.999-DANGEROUS/share/html/Elements/EditCustomFieldSelect
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Elements/EditCustomFieldSelect	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Elements/EditCustomFieldSelect	Fri Sep 12 00:54:36 2008
@@ -53,7 +53,6 @@
 %       my $id = $name_prefix . $custom_field->id;
 %       my $out = $m->scomp('SELF:options', %ARGS, selected_ref => \$selected, category_ref => \@category);
 %       if (@category) {
-<script type="text/javascript" src="<%RT->config->get('WebPath')%>/NoAuth/js/cascaded.js"></script>
 %#      XXX - Hide this select from w3m?
       <select onchange="filter_cascade('<% $id %>-values', this.value)" name="<% $id %>-category">
         <option value=""<% !$selected && qq[ selected="selected"] |n %>><&|/l&>-</&></option>

Modified: rt/branches/3.999-DANGEROUS/share/html/Prefs/MyRT.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Prefs/MyRT.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Prefs/MyRT.html	Fri Sep 12 00:54:36 2008
@@ -53,8 +53,6 @@
 &>
 <& /Elements/ListActions, actions => \@results &>
 
-<& /Widgets/SelectionBox:header, nojs => 1 &>
-
 <form method="post" action="MyRT.html">
 <input type="hidden" name="reset" value="1" />
 <input type="submit" class="button" value="<% _('Reset to default') %>">

Modified: rt/branches/3.999-DANGEROUS/share/html/Widgets/ComboBox
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Widgets/ComboBox	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Widgets/ComboBox	Fri Sep 12 00:54:36 2008
@@ -46,7 +46,6 @@
 %# 
 %# END BPS TAGGED BLOCK }}}
 <nobr>
-<script type="text/javascript" src="<%RT->config->get('WebPath')%>/NoAuth/js/combobox.js"></script>
 
 <div id="<% $name %>_Container" class="combobox">
 <input name="<% $name %>" id="<% $name %>" class="combo-text" value="<% $default || '' %>" type="text" <% $size ? "size='$size'" : '' |n %> autocomplete="off" />

Modified: rt/branches/3.999-DANGEROUS/share/html/Widgets/SelectionBox
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Widgets/SelectionBox	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Widgets/SelectionBox	Fri Sep 12 00:54:36 2008
@@ -49,9 +49,6 @@
 %# 
 %# SYNOPSIS
 %#
-%# include javascript:
-%# <& /Widgets/SelectionBox:header &>
-%#
 %# <%init>:
 %# my $sel = $m->comp ('/Widgets/SelectionBox:new',
 %#		  Action => me.html',
@@ -72,16 +69,6 @@
 %#
 %# if the SelectionBox is Created with AutoSave option, OnSubmit will be called
 %# on every button clicked in non-js mode.
-<%method header>
-% unless ($nojs) {
-<script type="text/javascript" src="<%RT->config->get('WebPath')%>/NoAuth/js/class.js"></script>
-<script type="text/javascript" src="<%RT->config->get('WebPath')%>/NoAuth/js/list.js"></script>
-% }
-<%ARGS>
-$nojs => 0
-</%ARGS>
-</%method>
-
 <%method new>
 <%init>
 $ARGS{_item_map} = {map {$_->[0] => $_->[1]} @{$ARGS{available}}};


More information about the Rt-commit mailing list