MDL-69336 lib: Correctly return promises when table show/hide columns
authorMichael Hawkins <michaelh@moodle.com>
Thu, 23 Jul 2020 04:45:19 +0000 (12:45 +0800)
committerMichael Hawkins <michaelh@moodle.com>
Tue, 4 Aug 2020 07:20:29 +0000 (15:20 +0800)
commit76fd40f2f901ea96d5e6bc8fc8467d54b74762d4
tree23edc4b079e20b7edd4c1b712fff8e4c1f230097
parent52925cb9dff860a264cf49bac400f0f26fe49461
MDL-69336 lib: Correctly return promises when table show/hide columns

Previously showColumn and HideColumn were returning nothing, so
attempts to catch exceptions were themselves throwing errors in the
browser console.
lib/table/amd/build/dynamic.min.js
lib/table/amd/build/dynamic.min.js.map
lib/table/amd/src/dynamic.js