From: erickson Date: Tue, 13 Oct 2009 21:20:48 +0000 (+0000) Subject: avoid auto adding a new distrib formula row with every rendering of the li details... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=309539a66f7980e6444b1d25521f4c1492c595d6;p=contrib%2FConifer.git 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 --- 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 53e6fa3289..940dcf6a7e 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(); } }