Bug 12163 - fix adding new quotes
authorRobin Sheat <robin@catalyst.net.nz>
Wed, 30 Apr 2014 04:28:21 +0000 (16:28 +1200)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 6 May 2014 16:03:23 +0000 (16:03 +0000)
commit646d2aa32584454e319c94816822c169921f5a76
tree07cd1112f4b058386d29f6105da7bc0d9fc6f031
parentacd0a91b112fa2368a6b4ccee570d4df044cfc71
Bug 12163 - fix adding new quotes

Something changed somewhere (maybe a new jQuery or datatables version)
and the javascript that redrew the table row after a new quote was saved
stopped working. This fixes the call to the datatables function so that
it matches the API.

Note that although the new quote didn't appear to be added, reloading
the page shows that it had been.

To test:
* Go and add a quote.
* Note that when you press enter after finishing the quote, the line
  stops being an editor, and becomes just a display, like it should.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt