[freeside-commits] freeside/httemplate/elements tr-select-reason.html, 1.2, 1.3

Jeff Finucane,420,, jeff at wavetail.420.am
Thu Dec 28 12:52:03 PST 2006


Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail:/tmp/cvs-serv21600

Modified Files:
	tr-select-reason.html 
Log Message:
activate submit button more readily

Index: tr-select-reason.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/tr-select-reason.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- tr-select-reason.html	23 Oct 2006 04:21:03 -0000	1.2
+++ tr-select-reason.html	28 Dec 2006 20:52:00 -0000	1.3
@@ -3,13 +3,14 @@
   function sh_add<% $name %>()
   {
 
-%if ($curuser->access_right($access_right)){
     if (document.getElementById('<% $name %>').selectedIndex == 0){
       <% $controlledbutton ? $controlledbutton.'.disabled = true;' : ';' %>
     }else{
       <% $controlledbutton ? $controlledbutton.'.disabled = false;' : ';' %>
     }
 
+%if ($curuser->access_right($access_right)){
+
     if (document.getElementById('<% $name %>').selectedIndex == 
          (document.getElementById('<% $name %>').length - 1)) {
       document.getElementById('new<% $name %>').disabled = false;



More information about the freeside-commits mailing list