no need to flesh fund, since we're grabbing those anyway. set ischanged when item...
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 18 Mar 2009 14:55:16 +0000 (14:55 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 18 Mar 2009 14:55:16 +0000 (14:55 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@12574 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/js/ui/default/acq/common/li_table.js

index e197e77..136ecf9 100644 (file)
@@ -134,7 +134,6 @@ function AcqLiTable() {
                 params: [self.authtoken, liId, {
                     flesh_attrs: true,
                     flesh_li_details: true,
-                    flesh_fund: true,
                     flesh_fund_debit: true }],
 
                 oncomplete: function(r) {
@@ -239,7 +238,11 @@ function AcqLiTable() {
                 });
                 widget.build();
                 dojo.connect(widget.widget, 'onChange', 
-                    function() { copy[field](widget.getFormattedValue()) });
+                    function() { 
+                        copy[field](widget.getFormattedValue()) 
+                        copy.ischanged(true);
+                    }
+                );
             }
         );