[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[4861] trunk
- Subject: SF.net SVN: ledger-smb:[4861] trunk
- From: ..hidden..
- Date: Thu, 07 Jun 2012 14:13:50 +0000
Revision: 4861
http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=4861&view=rev
Author: einhverfr
Date: 2012-06-07 14:13:50 +0000 (Thu, 07 Jun 2012)
Log Message:
-----------
Editing addresses now works properly and does not endlessly append
Modified Paths:
--------------
trunk/LedgerSMB/DBObject/Entity/Location.pm
trunk/UI/Contact/divs/address.html
Modified: trunk/LedgerSMB/DBObject/Entity/Location.pm
===================================================================
--- trunk/LedgerSMB/DBObject/Entity/Location.pm 2012-06-07 12:13:19 UTC (rev 4860)
+++ trunk/LedgerSMB/DBObject/Entity/Location.pm 2012-06-07 14:13:50 UTC (rev 4861)
@@ -86,6 +86,14 @@
has 'location_class' => (is => 'ro', isa => 'Maybe[Int]');
+=item old_location_class
+
+Old location class for updating
+
+=cut
+
+has 'old_location_class' => (is => 'ro', isa => 'Maybe[Int]');
+
=item class_name
The name of the class that goes with the id. This is not set until
Modified: trunk/UI/Contact/divs/address.html
===================================================================
--- trunk/UI/Contact/divs/address.html 2012-06-07 12:13:19 UTC (rev 4860)
+++ trunk/UI/Contact/divs/address.html 2012-06-07 14:13:50 UTC (rev 4861)
@@ -11,7 +11,7 @@
<?lsmb PROCESS input element_data = {
type = "hidden"
name = "old_location_class"
- value = location_class
+ value = request.location_class
} ?>
<?lsmb PROCESS input element_data = {
type = "hidden"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.