[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[6060] trunk



Revision: 6060
          http://sourceforge.net/p/ledger-smb/code/6060
Author:   einhverfr
Date:     2013-09-19 07:39:41 +0000 (Thu, 19 Sep 2013)
Log Message:
-----------
Minor layout fixes

Modified Paths:
--------------
    trunk/LedgerSMB/Form.pm
    trunk/UI/lib/setup.js

Modified: trunk/LedgerSMB/Form.pm
===================================================================
--- trunk/LedgerSMB/Form.pm	2013-09-19 07:33:29 UTC (rev 6059)
+++ trunk/LedgerSMB/Form.pm	2013-09-19 07:39:41 UTC (rev 6060)
@@ -644,6 +644,8 @@
 		window.alert('Warning:  Your password will expire in $self->{pw_expires}');
 	</script>|;
         }
+        my $dformat = $self->{_myconfig}->{dateformat};
+        $dformat =~ s/mm/MM/;
 
         print qq|Content-Type: text/html; charset=utf-8\n\n
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
@@ -664,7 +666,7 @@
                parseOnLoad: 0,
                packages: [{"name":"lsmb","location":"../../.."}]
            }
-           var dateformat = '| . $self->{_myconfig}->{dateformat} . qq|';
+           var dateformat = '$dformat';
         </script>
        <script type="text/javascript" language="JavaScript" src="UI/lib/dojo/dojo/dojo.js"></script>
         <script type="text/javascript" language="JavaScript" src="UI/lib/setup.js"></script>

Modified: trunk/UI/lib/setup.js
===================================================================
--- trunk/UI/lib/setup.js	2013-09-19 07:33:29 UTC (rev 6059)
+++ trunk/UI/lib/setup.js	2013-09-19 07:39:41 UTC (rev 6060)
@@ -30,7 +30,7 @@
                 }
                 
                 if (input.size !== undefined && input.size !== ''){
-                   style['width'] = input.size + 'em';
+                   style['width'] = (input.size * 0.6) + 'em';
                 }
                 return new datebox({
                     "label": input.title,
@@ -51,7 +51,7 @@
              } else {
                 var style = {};
                 if (input.size !== undefined && input.size !== ''){
-                   style['width'] = input.size + 'em';
+                   style['width'] = (input.size * 0.6) + 'em';
                 }
                 return new textbox({
                     "label": input.title,

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits