From 309539a66f7980e6444b1d25521f4c1492c595d6 Mon Sep 17 00:00:00 2001 From: erickson Date: Tue, 13 Oct 2009 21:20:48 +0000 Subject: [PATCH] avoid auto adding a new distrib formula row with every rendering of the li details page git-svn-id: svn://svn.open-ils.org/ILS/trunk@14404 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/js/ui/default/acq/common/li_table.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/web/js/ui/default/acq/common/li_table.js b/Open-ILS/web/js/ui/default/acq/common/li_table.js index 53e6fa328..940dcf6a7 100644 --- a/Open-ILS/web/js/ui/default/acq/common/li_table.js +++ b/Open-ILS/web/js/ui/default/acq/common/li_table.js @@ -506,7 +506,6 @@ function AcqLiTable() { this._fetchDistribFormulas( function() { - self._addDistribFormulaRow(); openils.acq.Lineitem.fetchAttrDefs( function() { self._fetchLineitem(liId, function(li){self._drawCopies(li);}); @@ -634,6 +633,7 @@ function AcqLiTable() { self.distribFormulaStore = new dojo.data.ItemFileReadStore( {data:acqdf.toStoreData(self.distribForms)}); + self._addDistribFormulaRow(); onload(); } } -- 2.11.0