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

SF.net SVN: ledger-smb:[3562] trunk/UI/Contact/contact.html



Revision: 3562
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3562&view=rev
Author:   ehuelsmann
Date:     2011-07-22 16:48:20 +0000 (Fri, 22 Jul 2011)

Log Message:
-----------
Only assign a value to 'target_div' if it's undefined so far.
This fixes the behaviour where the contact editing screen returns to the
'credit_div' every time.

Modified Paths:
--------------
    trunk/UI/Contact/contact.html

Modified: trunk/UI/Contact/contact.html
===================================================================
--- trunk/UI/Contact/contact.html	2011-07-22 16:12:14 UTC (rev 3561)
+++ trunk/UI/Contact/contact.html	2011-07-22 16:48:20 UTC (rev 3562)
@@ -8,6 +8,7 @@
 	]
 ?>
 <?lsmb PROCESS 'elements.html' ?>
+<?lsmb IF (! target_div); ?>
 <?lsmb IF (!entity_id and account_class != 3); 
 	target_div = 'company_div';
 ELSIF ((!entity_id or action == 'save') and entity_class == 3);
@@ -30,6 +31,7 @@
 ELSIF action== 'save_notes';
 		target_div = 'notes_div';
 END ?>
+<?lsmb END ?>
 <body onload="init('<?lsmb target_div ?>')">
     <?lsmb IF name ?> 
 <div class="pageheading"><?lsmb text('Company:') ?> <?lsmb name ?></div>


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