ACQ return-to-[search/invoice] buttons repair
[transitory.git] / Open-ILS / web / js / dojo / openils / acq / Lineitem.js
index ec28214..ee69ef7 100644 (file)
@@ -181,6 +181,7 @@ openils.acq.Lineitem.fetchAndRender = function(liId, args, callback) {
                         liLink,
                         (po) ? 'foo' : '', // forces class='hiddenfoo' i.e. not hidden
                         (pl) ? 'foo' : '', // ditto
+                        encodeURIComponent(location.pathname + location.search)
                     ],
                     function(str) {
                         // prevent long titles from filling up the page