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

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



Revision: 5974
          http://sourceforge.net/p/ledger-smb/code/5974
Author:   einhverfr
Date:     2013-08-26 10:07:26 +0000 (Mon, 26 Aug 2013)
Log Message:
-----------
Fixed a few UI bugs with the contact screen, one outstanding (on contact search, selecting result, div is not fully selected

Modified Paths:
--------------
    trunk/LedgerSMB/Scripts/contact.pm
    trunk/UI/Contact/divs/person.html

Modified: trunk/LedgerSMB/Scripts/contact.pm
===================================================================
--- trunk/LedgerSMB/Scripts/contact.pm	2013-08-26 09:35:51 UTC (rev 5973)
+++ trunk/LedgerSMB/Scripts/contact.pm	2013-08-26 10:07:26 UTC (rev 5974)
@@ -31,7 +31,7 @@
 use warnings;
 
 #Plugins
-opendir($dh, 'LedgerSMB/Entity/Plugins') 
+opendir(my $dh, 'LedgerSMB/Entity/Plugins') 
     || die "can't opendir plugins directory: $!";
 my @pluginmods = grep { /^[^.]/ && -f "LedgerSMB/Entity/Plugins/$_" } readdir($dh);
 closedir $dh;
@@ -252,9 +252,9 @@
 
     $request->close_form() if eval {$request->can('close_form')};
     $request->open_form() if eval {$request->can('close_form')};
-    opendir(my $dh, 'UI/Contact/plugins') || die "can't opendir plugins directory: $!";
-    my @plugins = grep { /^[^.]/ && -f "UI/Contact/plugins/$_" } readdir($dh);
-    closedir $dh;
+    opendir(my $dh2, 'UI/Contact/plugins') || die "can't opendir plugins directory: $!";
+    my @plugins = grep { /^[^.]/ && -f "UI/Contact/plugins/$_" } readdir($dh2);
+    closedir $dh2;
 
     # Template info and rendering 
     my $template = LedgerSMB::Template->new(

Modified: trunk/UI/Contact/divs/person.html
===================================================================
--- trunk/UI/Contact/divs/person.html	2013-08-26 09:35:51 UTC (rev 5973)
+++ trunk/UI/Contact/divs/person.html	2013-08-26 10:07:26 UTC (rev 5974)
@@ -1,4 +1,5 @@
-<div class="container" id="person_div">
+<div class="container" id="person_div" title="<?lsmb text('Person') ?>"
+data-dojo-type="dijit/layout/ContentPane">
 <?lsmb SWITCH entity_class
 	?><?lsmb CASE 1 ?><?lsmb entity_classname = "Vendor" 
 	?><?lsmb CASE 2 ?><?lsmb entity_classname = "Customer" 

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


------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits