[freeside-commits] freeside/rt/share/html/Ticket Create.html, 1.1.1.2.4.1, 1.1.1.2.4.2
Mark Wells
mark at wavetail.420.am
Mon Nov 15 14:59:29 PST 2010
Update of /home/cvs/cvsroot/freeside/rt/share/html/Ticket
In directory wavetail.420.am:/tmp/cvs-serv29776/Ticket
Modified Files:
Tag: FREESIDE_2_1_BRANCH
Create.html
Log Message:
smarter form refresh
Index: Create.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rt/share/html/Ticket/Create.html,v
retrieving revision 1.1.1.2.4.1
retrieving revision 1.1.1.2.4.2
diff -u -w -d -r1.1.1.2.4.1 -r1.1.1.2.4.2
--- Create.html 15 Nov 2010 21:39:54 -0000 1.1.1.2.4.1
+++ Create.html 15 Nov 2010 22:59:26 -0000 1.1.1.2.4.2
@@ -66,15 +66,11 @@
<tr><td class="label"><&|/l&>Queue</&>:</td>
%#<td class="value"><& Elements/ShowQueue, QueueObj => $QueueObj &>
%#<input type="hidden" class="hidden" name="Queue" value="<% $QueueObj->Name %>" />
-% $cgi->delete('Queue');
-% my $self_url = $cgi->self_url(-newstyle_urls => 1);
-% $self_url = ($self_url =~ /\?/) ? "$self_url;" : "$self_url?";
-% $cgi->param('Queue', $QueueObj->Id);
<td class="value"><& /Elements/SelectQueue,
Name => 'Queue',
Default => $QueueObj->Name,
ShowNullOption => 0,
- OnChange => "window.location.href='${self_url}Queue=' + this.value" &>
+ OnChange => "document.getElementsByName('id')[0].value = ''; form.submit()" &>
</td>
<td class="label"><&|/l&>Status</&>:
</td>
More information about the freeside-commits
mailing list