Bug 10533: move JavaScript functions for basket groups to a separate file
authorJonathan Druart <jonathan.druart@biblibre.com>
Wed, 3 Jul 2013 08:52:21 +0000 (10:52 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 18 Apr 2014 19:25:12 +0000 (19:25 +0000)
commitb8f1b43966d178174583c7a3e0c36e58f988b161
treea9923bc3a44bd2c399b89ad193f496bd6c613c17
parentafc9549a6f58ddf36cf6d9a5399239385c377c90
Bug 10533: move JavaScript functions for basket groups to a separate file

This patch moves JavaScript functions used for managing basket groups
to a file.  This has the effect of putting the last (active) use of
the YUI JavaScript library by the staff interface in one file:

  koha-tmpl/intranet-tmpl/prog/en/js/basketgroup.js

Test plan:
- Try all actions for basketgroup ( drag/drop, add, delete, close, print,
reopen, edit, export as csv).
- Check that there is no regression on others acquisition pages:
  * acqui/neworderempty.tt
  * acqui/uncertainprice.tt
  * acqui/addorderiso2709.tt
  * acqui/basketheader.tt
  * admin/aqbudgets.tt
  * admin/aqcontract.tt
  * admin/aqbudgetperiods.tt
  * admin/aqplan.tt
  * suggestion/suggestion.tt

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works as described, passes all tests and QA script.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/intranet-tmpl/prog/en/js/acq.js
koha-tmpl/intranet-tmpl/prog/en/js/basketgroup.js [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt